From 46ac07576995aa0e071e1301796ca83e7e783930 Mon Sep 17 00:00:00 2001 From: matmatt Date: Tue, 28 Jul 2026 07:10:38 +0200 Subject: [PATCH] fix: use gemini-2.0-flash (GA), 2.5-flash restricted for new API keys --- .github/scripts/helpers/gemini_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/helpers/gemini_client.py b/.github/scripts/helpers/gemini_client.py index 8607e65e..9da2c2ce 100644 --- a/.github/scripts/helpers/gemini_client.py +++ b/.github/scripts/helpers/gemini_client.py @@ -30,9 +30,9 @@ def get_client() -> "genai.Client": # --------------------------------------------------------------------------- -# Model & rate-limit constants (Gemini 2.5 Flash – tier 1) +# Model & rate-limit constants (Gemini 2.0 Flash – tier 1) # --------------------------------------------------------------------------- -MODEL_NAME = "gemini-2.5-flash-latest" +MODEL_NAME = "gemini-2.0-flash" RPM_LIMIT = 995 # Requests per minute TPM_LIMIT = 750_000 # Tokens per minute