refactor: Use default centralized Flash & Pro models everywhere (#994)

This commit is contained in:
N. Taylor Mullen
2025-06-13 01:25:42 -07:00
committed by GitHub
parent f8a31f29aa
commit 7bcc60e996
9 changed files with 28 additions and 11 deletions

View File

@@ -9,7 +9,7 @@ import { getEffectiveModel } from './modelCheck.js';
import {
DEFAULT_GEMINI_MODEL,
DEFAULT_GEMINI_FLASH_MODEL,
} from '../config/config.js';
} from '@gemini-cli/core';
// Mock global fetch
global.fetch = vi.fn();

View File

@@ -7,7 +7,7 @@
import {
DEFAULT_GEMINI_MODEL,
DEFAULT_GEMINI_FLASH_MODEL,
} from '../config/config.js';
} from '@gemini-cli/core';
/**
* Checks if the default "pro" model is rate-limited and returns a fallback "flash"