mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-23 19:44:30 -07:00
feat(core): Thread AgentLoopContext through core. (#21944)
This commit is contained in:
@@ -39,6 +39,12 @@ describe('WebSearchTool', () => {
|
||||
})),
|
||||
},
|
||||
} as unknown as Config;
|
||||
(
|
||||
mockConfigInstance as unknown as { config: Config; promptId: string }
|
||||
).config = mockConfigInstance;
|
||||
(
|
||||
mockConfigInstance as unknown as { config: Config; promptId: string }
|
||||
).promptId = 'test-prompt-id';
|
||||
mockGeminiClient = new GeminiClient(mockConfigInstance);
|
||||
tool = new WebSearchTool(mockConfigInstance, createMockMessageBus());
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user