diff options
Diffstat (limited to 'packages/core/src/utils/fileUtils.ts')
| -rw-r--r-- | packages/core/src/utils/fileUtils.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/core/src/utils/fileUtils.ts b/packages/core/src/utils/fileUtils.ts index c016cd4a..96f4b36c 100644 --- a/packages/core/src/utils/fileUtils.ts +++ b/packages/core/src/utils/fileUtils.ts @@ -299,7 +299,8 @@ export async function processSingleFileContent( return line; }); - const contentRangeTruncated = endLine < originalLineCount; + const contentRangeTruncated = + startLine > 0 || endLine < originalLineCount; const isTruncated = contentRangeTruncated || linesWereTruncatedInLength; let llmTextContent = ''; |
