feat: add Gemini 2.5 Flash as default model option
Added gemini-2.5-flash to the admin panel selector (first/default option) and updated the fallback default in AiBot and migrate seed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
5883801989
commit
b82fcf6aaa
+1
-1
@@ -150,7 +150,7 @@ class AiBot
|
||||
$apiKey = env('GEMINI_API_KEY', '');
|
||||
if ($apiKey === '') return null;
|
||||
|
||||
$model = env('GEMINI_MODEL', 'gemini-2.0-flash');
|
||||
$model = env('GEMINI_MODEL', 'gemini-2.5-flash');
|
||||
$maxTokens = (int)env('AI_MAX_TOKENS', '500');
|
||||
|
||||
// Gemini usa "contents" con roles "user"/"model"
|
||||
|
||||
Reference in New Issue
Block a user