Bump default model to `gemini-2.5-pro-preview-06-05` (#765)

This commit is contained in:
Eddie Santos 2025-06-05 11:52:36 -07:00 committed by GitHub
parent 422c763a55
commit e02868bb1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 2 deletions

View File

@ -22,7 +22,7 @@ These are the main pieces of information the core `Config` object holds and uses
- **`model` (string):** - **`model` (string):**
- **Source:** Command-line argument (`--model`), environment variable (`GEMINI_MODEL`), or a default value (e.g., `gemini-2.5-pro-preview-05-06`). - **Source:** Command-line argument (`--model`), environment variable (`GEMINI_MODEL`), or a default value (e.g., `gemini-2.5-pro-preview-06-05`).
- **Purpose:** Specifies which Gemini model the core should use. (For Vertex AI model names and usage, refer to the main README.md). - **Purpose:** Specifies which Gemini model the core should use. (For Vertex AI model names and usage, refer to the main README.md).
- **`sandbox` (boolean | string):** - **`sandbox` (boolean | string):**

View File

@ -34,7 +34,7 @@ const logger = {
error: (...args: any[]) => console.error('[ERROR]', ...args), error: (...args: any[]) => console.error('[ERROR]', ...args),
}; };
export const DEFAULT_GEMINI_MODEL = 'gemini-2.5-pro-preview-05-06'; export const DEFAULT_GEMINI_MODEL = 'gemini-2.5-pro-preview-06-05';
export const DEFAULT_GEMINI_FLASH_MODEL = 'gemini-2.5-flash-preview-05-20'; export const DEFAULT_GEMINI_FLASH_MODEL = 'gemini-2.5-flash-preview-05-20';
interface CliArgs { interface CliArgs {

View File

@ -17,6 +17,7 @@ export function tokenLimit(model: Model): TokenCount {
return 2_097_152; return 2_097_152;
case 'gemini-1.5-flash': case 'gemini-1.5-flash':
case 'gemini-2.5-pro-preview-05-06': case 'gemini-2.5-pro-preview-05-06':
case 'gemini-2.5-pro-preview-06-05':
case 'gemini-2.5-flash-preview-05-20': case 'gemini-2.5-flash-preview-05-20':
case 'gemini-2.0-flash': case 'gemini-2.0-flash':
return 1_048_576; return 1_048_576;