mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-13 05:12:55 -07:00
Re-enable read-de-dupe.
This commit is contained in:
@@ -192,7 +192,7 @@ function pruneHistory(history: Content[]): Content[] {
|
|||||||
return content;
|
return content;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
\nfunction extractCuratedHistory(comprehensiveHistory: Content[]): Content[] {
|
function extractCuratedHistory(comprehensiveHistory: Content[]): Content[] {
|
||||||
if (comprehensiveHistory === undefined || comprehensiveHistory.length === 0) {
|
if (comprehensiveHistory === undefined || comprehensiveHistory.length === 0) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -162,6 +162,7 @@ ${result.llmContent}`;
|
|||||||
*/
|
*/
|
||||||
const readCache = new Map<string, ToolResult>();
|
const readCache = new Map<string, ToolResult>();
|
||||||
|
|
||||||
|
|
||||||
export class ReadFileTool extends BaseDeclarativeTool<
|
export class ReadFileTool extends BaseDeclarativeTool<
|
||||||
ReadFileToolParams,
|
ReadFileToolParams,
|
||||||
ToolResult
|
ToolResult
|
||||||
|
|||||||
Reference in New Issue
Block a user