From 6a2623ae242d3d4580ed2ab80d1fbee1e41682fa Mon Sep 17 00:00:00 2001 From: matmatt Date: Tue, 28 Jul 2026 07:09:46 +0200 Subject: [PATCH] fix: use gemini-2.5-flash-latest instead of deprecated -001 --- .github/scripts/helpers/gemini_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/helpers/gemini_client.py b/.github/scripts/helpers/gemini_client.py index 88cacea6..8607e65e 100644 --- a/.github/scripts/helpers/gemini_client.py +++ b/.github/scripts/helpers/gemini_client.py @@ -32,7 +32,7 @@ def get_client() -> "genai.Client": # --------------------------------------------------------------------------- # Model & rate-limit constants (Gemini 2.5 Flash – tier 1) # --------------------------------------------------------------------------- -MODEL_NAME = "gemini-2.5-flash-001" +MODEL_NAME = "gemini-2.5-flash-latest" RPM_LIMIT = 995 # Requests per minute TPM_LIMIT = 750_000 # Tokens per minute