mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-04-21 10:06:47 +00:00
chore: increase character limit to 4000 in createPrompt function
This commit is contained in:
parent
871e421ec8
commit
271056abf4
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ async function analyzeCode(
|
|||
if (file.to === "/dev/null") continue; // Ignore deleted files
|
||||
for (const chunk of file.chunks) {
|
||||
// Ignore diffs longer than 2000 characters
|
||||
if (chunk.content.length > 2000) continue;
|
||||
if (chunk.content.length > 4000) continue;
|
||||
|
||||
const prompt = createPrompt(file, chunk, prDetails);
|
||||
const aiResponse = await getAIResponse(prompt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue