Support Gemini 2.0 Flash-exp

This commit is contained in:
M0cho
2024-12-12 06:31:27 +09:00
parent d9e0df0884
commit a64c8ade9d
5 changed files with 11 additions and 2 deletions

View File

@ -337,6 +337,7 @@ export function convertGooglePrompt(messages, model, useSysPrompt = false, charN
const PNG_PIXEL = 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=';
const visionSupportedModels = [
'gemini-2.0-flash-exp',
'gemini-1.5-flash',
'gemini-1.5-flash-latest',
'gemini-1.5-flash-001',