diff --git a/packages/core/src/core/geminiChat.ts b/packages/core/src/core/geminiChat.ts index d0dfa159b5..3a8677901e 100644 --- a/packages/core/src/core/geminiChat.ts +++ b/packages/core/src/core/geminiChat.ts @@ -192,7 +192,7 @@ function pruneHistory(history: Content[]): Content[] { return content; }); } -\nfunction extractCuratedHistory(comprehensiveHistory: Content[]): Content[] { +function extractCuratedHistory(comprehensiveHistory: Content[]): Content[] { if (comprehensiveHistory === undefined || comprehensiveHistory.length === 0) { return []; } diff --git a/packages/core/src/tools/read-file.ts b/packages/core/src/tools/read-file.ts index badb8f12c7..5a4a8657a7 100644 --- a/packages/core/src/tools/read-file.ts +++ b/packages/core/src/tools/read-file.ts @@ -162,6 +162,7 @@ ${result.llmContent}`; */ const readCache = new Map(); + export class ReadFileTool extends BaseDeclarativeTool< ReadFileToolParams, ToolResult