mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-08-03 13:05:25 +02:00
fix(gemini): update model list with more specific names for better api compatibility
This commit is contained in:
@@ -17,7 +17,9 @@ export async function generateGemini(prompt: string, systemPrompt: string): Prom
|
|||||||
const modelOptions = [
|
const modelOptions = [
|
||||||
'gemini-2.0-flash',
|
'gemini-2.0-flash',
|
||||||
'gemini-1.5-flash',
|
'gemini-1.5-flash',
|
||||||
'gemini-pro'
|
'gemini-1.5-pro',
|
||||||
|
'gemini-1.0-pro-002',
|
||||||
|
'gemini-1.0-pro'
|
||||||
];
|
];
|
||||||
|
|
||||||
let lastError: any = null;
|
let lastError: any = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user