Skip to content

Commit 7f5df49

Browse files
authored
Merge pull request #176 from rostilos/1.5.6-rc
feat: Update maximum diff size for LLM to avoid prompt bloat
2 parents d5c9d64 + cb2a5b2 commit 7f5df49

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

java-ecosystem/services/pipeline-agent/src/main/java/org/rostilos/codecrow/pipelineagent/qadoc/QaDocGenerationService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ public class QaDocGenerationService {
4444

4545
private static final Logger log = LoggerFactory.getLogger(QaDocGenerationService.class);
4646

47-
/** Maximum diff size sent to the LLM to avoid prompt bloat (~30 KB). */
48-
private static final int MAX_DIFF_SIZE = 30_000;
47+
/** Maximum diff size sent to the LLM to avoid prompt bloat (~500 KB). */
48+
private static final int MAX_DIFF_SIZE = 500_000;
4949

5050
private final String inferenceOrchestratorUrl;
5151
private final ObjectMapper objectMapper;

0 commit comments

Comments
 (0)