mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-08-03 12:35:25 +02:00
feat: upgrade Gemini models to 3.1 and 2.5 series (April 2026)
This commit is contained in:
@@ -18,10 +18,11 @@ export async function generateGemini(prompt: string, systemPrompt: string): Prom
|
|||||||
|
|
||||||
// Model fallback list - using current stable and experimental versions
|
// Model fallback list - using current stable and experimental versions
|
||||||
const modelOptions = [
|
const modelOptions = [
|
||||||
'gemini-1.5-flash',
|
'gemini-3.1-flash',
|
||||||
'gemini-1.5-pro',
|
'gemini-3.1-pro',
|
||||||
'gemini-2.0-flash-exp',
|
'gemini-3.1-flash-lite',
|
||||||
'gemini-2.0-flash'
|
'gemini-2.5-flash',
|
||||||
|
'gemini-2.5-pro'
|
||||||
];
|
];
|
||||||
|
|
||||||
let lastError: any = null;
|
let lastError: any = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user