feat(core): Thread AgentLoopContext through core. (#21944)

This commit is contained in:
joshualitt
2026-03-10 18:12:59 -07:00
committed by GitHub
parent daf3701194
commit 20a226a5ab
30 changed files with 272 additions and 125 deletions
@@ -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();