From c6b4d1abca1efdd82717fbc4cf9d629de6bef9d7 Mon Sep 17 00:00:00 2001 From: Hannes Rudolph Date: Wed, 14 Jan 2026 10:47:15 -0700 Subject: [PATCH] fix: update FALLBACK_LIMIT to 2000 lines --- src/integrations/misc/read-file-content.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/integrations/misc/read-file-content.ts b/src/integrations/misc/read-file-content.ts index 52362042f2..44551a9f59 100644 --- a/src/integrations/misc/read-file-content.ts +++ b/src/integrations/misc/read-file-content.ts @@ -8,7 +8,7 @@ import { createReadStream } from "fs" // Configuration constants const MAX_LINE_LENGTH = 500 // Truncate lines longer than this const TAB_WIDTH = 4 // Treat tabs as 4 spaces for indentation -const FALLBACK_LIMIT = 500 // Fallback when no limit is specified and maxReadFileLine is not set +const FALLBACK_LIMIT = 2000 // Fallback when no limit is specified and maxReadFileLine is not set // Comment prefixes for header detection const COMMENT_PREFIXES = ["#", "//", "--", "/*", "*", "'''", '"""', "