Add new Gemini thinking model and its alias, specify context size and vision support

This commit is contained in:
sirius422
2025-01-22 18:37:43 +08:00
parent 9f1d431c99
commit 11882827c7
4 changed files with 8 additions and 2 deletions

View File

@ -360,6 +360,8 @@ export function convertCohereMessages(messages, names) {
*/
export function convertGooglePrompt(messages, model, useSysPrompt, names) {
const visionSupportedModels = [
'gemini-2.0-flash-thinking-exp',
'gemini-2.0-flash-thinking-exp-01-21',
'gemini-2.0-flash-thinking-exp-1219',
'gemini-2.0-flash-exp',
'gemini-1.5-flash',