mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-21 02:24:09 -07:00
feat(core): Thread AgentLoopContext through core. (#21944)
This commit is contained in:
@@ -62,6 +62,12 @@ describe('summarizers', () => {
|
||||
getResolvedConfig: vi.fn().mockReturnValue(mockResolvedConfig),
|
||||
} as unknown as ModelConfigService;
|
||||
|
||||
// .config is already set correctly by the getter on the instance.
|
||||
Object.defineProperty(mockConfigInstance, 'promptId', {
|
||||
get: () => 'test-prompt-id',
|
||||
configurable: true,
|
||||
});
|
||||
|
||||
mockGeminiClient = new GeminiClient(mockConfigInstance);
|
||||
(mockGeminiClient.generateContent as Mock) = vi.fn();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user