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:
Lizandro Guarnizo
2026-07-04 18:52:08 -05:00
co-authored by Claude Sonnet 4.6
parent 5883801989
commit b82fcf6aaa
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -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"