Skip to content

Commit cb2a5b2

Browse files
committed
feat: Update maximum diff size for LLM to avoid prompt bloat
1 parent e3a8aa0 commit cb2a5b2

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)