From bbf7c6ed36fe8ad2377a7a52311a6b59eb1894ce Mon Sep 17 00:00:00 2001 From: Jack Wotherspoon Date: Wed, 17 Sep 2025 10:10:58 -0400 Subject: [PATCH] chore: update erroneous model version added by external contrib (#8624) --- packages/cli/src/utils/commentJson.test.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/cli/src/utils/commentJson.test.ts b/packages/cli/src/utils/commentJson.test.ts index f996087657..4957b74973 100644 --- a/packages/cli/src/utils/commentJson.test.ts +++ b/packages/cli/src/utils/commentJson.test.ts @@ -41,14 +41,14 @@ describe('commentJson', () => { fs.writeFileSync(testFilePath, originalContent, 'utf-8'); updateSettingsFilePreservingFormat(testFilePath, { - model: 'gemini-3.0-ultra', + model: 'gemini-2.5-flash', }); const updatedContent = fs.readFileSync(testFilePath, 'utf-8'); expect(updatedContent).toContain('// Model configuration'); expect(updatedContent).toContain('// Theme setting'); - expect(updatedContent).toContain('"model": "gemini-3.0-ultra"'); + expect(updatedContent).toContain('"model": "gemini-2.5-flash"'); expect(updatedContent).toContain('"theme": "dark"'); }); @@ -119,7 +119,7 @@ describe('commentJson', () => { fs.writeFileSync(testFilePath, complexContent, 'utf-8'); updateSettingsFilePreservingFormat(testFilePath, { - model: 'gemini-3.0-ultra', + model: 'gemini-2.5-flash', mcpServers: { context7: { headers: { @@ -140,7 +140,7 @@ describe('commentJson', () => { expect(updatedContent).toContain('// API key'); // Verify updates applied - expect(updatedContent).toContain('"model": "gemini-3.0-ultra"'); + expect(updatedContent).toContain('"model": "gemini-2.5-flash"'); expect(updatedContent).toContain('"newSection"'); expect(updatedContent).toContain('"API_KEY": "new-test-key"'); }); @@ -161,7 +161,7 @@ describe('commentJson', () => { expect(() => { updateSettingsFilePreservingFormat(testFilePath, { - model: 'gemini-3.0-ultra', + model: 'gemini-2.5-flash', }); }).not.toThrow();