From 5f7e79d9a3b19eddabe5a5c9e91da51a648d8aca Mon Sep 17 00:00:00 2001 From: kaushik-yadav Date: Mon, 5 Jan 2026 18:00:30 +0530 Subject: [PATCH] fix: fix(gemini): replace deprecated Gemini preview model with supported version --- cli/utils.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cli/utils.py b/cli/utils.py index 7b9682a6..02137f15 100644 --- a/cli/utils.py +++ b/cli/utils.py @@ -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": [