mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-06 03:10:42 -07:00
feat(core): Fully migrate packages/core to AgentLoopContext. (#22115)
This commit is contained in:
@@ -36,6 +36,9 @@ describe('LoopDetectionService', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
mockConfig = {
|
||||
get config() {
|
||||
return this;
|
||||
},
|
||||
getTelemetryEnabled: () => true,
|
||||
isInteractive: () => false,
|
||||
getDisableLoopDetection: () => false,
|
||||
@@ -806,7 +809,13 @@ describe('LoopDetectionService LLM Checks', () => {
|
||||
vi.mocked(mockAvailability.snapshot).mockReturnValue({ available: true });
|
||||
|
||||
mockConfig = {
|
||||
get config() {
|
||||
return this;
|
||||
},
|
||||
getGeminiClient: () => mockGeminiClient,
|
||||
get geminiClient() {
|
||||
return mockGeminiClient;
|
||||
},
|
||||
getBaseLlmClient: () => mockBaseLlmClient,
|
||||
getDisableLoopDetection: () => false,
|
||||
getDebugMode: () => false,
|
||||
|
||||
Reference in New Issue
Block a user