fix: fix(gemini): replace deprecated Gemini preview model with supported version

This commit is contained in:
kaushik-yadav 2026-01-05 18:00:30 +05:30
parent 13b826a31d
commit 5f7e79d9a3
1 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,6 @@
from typing import Dict, List, Optional, Tuple
import questionary
from typing import List, Optional, Tuple, Dict
from cli.models import AnalystType
@ -142,7 +143,7 @@ def select_shallow_thinking_agent(provider) -> str:
"google": [
("Gemini 2.0 Flash-Lite - Cost efficiency and low latency", "gemini-2.0-flash-lite"),
("Gemini 2.0 Flash - Next generation features, speed, and thinking", "gemini-2.0-flash"),
("Gemini 2.5 Flash - Adaptive thinking, cost efficiency", "gemini-2.5-flash-preview-05-20"),
("Gemini 2.5 Flash - Adaptive thinking, cost efficiency", "gemini-2.5-flash"),
],
"openrouter": [
("Meta: Llama 4 Scout", "meta-llama/llama-4-scout:free"),
@ -204,7 +205,7 @@ def select_deep_thinking_agent(provider) -> str:
"google": [
("Gemini 2.0 Flash-Lite - Cost efficiency and low latency", "gemini-2.0-flash-lite"),
("Gemini 2.0 Flash - Next generation features, speed, and thinking", "gemini-2.0-flash"),
("Gemini 2.5 Flash - Adaptive thinking, cost efficiency", "gemini-2.5-flash-preview-05-20"),
("Gemini 2.5 Flash - Adaptive thinking, cost efficiency", "gemini-2.5-flash"),
("Gemini 2.5 Pro", "gemini-2.5-pro-preview-06-05"),
],
"openrouter": [