Fix issues that resulted in Gemini trying to use relative paths where absolute paths were required (#3938)

This commit is contained in:
Jacob Richman
2025-07-11 17:49:26 -07:00
committed by GitHub
parent 6ebe97c704
commit 82bde57868
5 changed files with 66 additions and 39 deletions

View File

@@ -390,7 +390,7 @@ Use this tool when the user's query implies needing the content of several files
if (typeof fileReadResult.llmContent === 'string') {
const separator = DEFAULT_OUTPUT_SEPARATOR_FORMAT.replace(
'{filePath}',
relativePathForDisplay,
filePath,
);
contentParts.push(`${separator}\n\n${fileReadResult.llmContent}\n\n`);
} else {