fix: replace discontinued gemini-2.5-pro-preview-03-25 with stable gemini-2.5-pro (#802)
Updates both the model config mappings (configs.ts) and the runtime fallback in getDefaultOpusModel() (model.ts) so Gemini mode no longer falls back to the discontinued preview model when GEMINI_MODEL is unset. Fixes #398
This commit is contained in:
committed by
GitHub
parent
85eab2751e
commit
64582c119d
@@ -140,7 +140,7 @@ export function getDefaultOpusModel(): ModelName {
|
||||
}
|
||||
// Gemini provider
|
||||
if (getAPIProvider() === 'gemini') {
|
||||
return process.env.GEMINI_MODEL || 'gemini-2.5-pro-preview-03-25'
|
||||
return process.env.GEMINI_MODEL || 'gemini-2.5-pro'
|
||||
}
|
||||
// Mistral provider
|
||||
if (getAPIProvider() === 'mistral') {
|
||||
|
||||
Reference in New Issue
Block a user