mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-10-02 14:15:29 +02:00
fix(gemini): update model list with more specific names for better api compatibility
This commit is contained in:
1 parent
bad87b0f0b
commit
d47c1251d1
1 file changed
+3
-1
@@ -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