mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-06 21:35:52 +08:00
feat(models): update gemini model identification logic to be more general
This commit is contained in:
parent
69962e836f
commit
7153f19764
@ -2264,7 +2264,7 @@ export function isReasoningModel(model?: Model): boolean {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
if (model.id.includes('gemini-2.5-pro-exp')) {
|
if (model.id.includes('gemini-2.5')) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user