mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-13 23:01:09 -07:00
feat(core): Land AgentHistoryProvider. (#23978)
This commit is contained in:
@@ -1151,8 +1151,11 @@ describe('loggers', () => {
|
||||
getQuestion: () => 'test-question',
|
||||
getToolRegistry: () =>
|
||||
new ToolRegistry(cfg1, {} as unknown as MessageBus),
|
||||
|
||||
getUserMemory: () => 'user-memory',
|
||||
isExperimentalAgentHistoryTruncationEnabled: () => false,
|
||||
getExperimentalAgentHistoryTruncationThreshold: () => 30,
|
||||
getExperimentalAgentHistoryRetainedMessages: () => 15,
|
||||
isExperimentalAgentHistorySummarizationEnabled: () => false,
|
||||
} as unknown as Config;
|
||||
|
||||
(cfg2 as unknown as { config: Config; promptId: string }).config = cfg2;
|
||||
|
||||
Reference in New Issue
Block a user