Skip to content

Commit 4e0e24c

Browse files
authored
fix: use gemini-2.0-flash (GA), 2.5-flash restricted for new API keys (#71)
1 parent 0391d37 commit 4e0e24c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/scripts/helpers/gemini_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ def get_client() -> "genai.Client":
3030

3131

3232
# ---------------------------------------------------------------------------
33-
# Model & rate-limit constants (Gemini 2.5 Flash – tier 1)
33+
# Model & rate-limit constants (Gemini 2.0 Flash – tier 1)
3434
# ---------------------------------------------------------------------------
35-
MODEL_NAME = "gemini-2.5-flash-latest"
35+
MODEL_NAME = "gemini-2.0-flash"
3636

3737
RPM_LIMIT = 995 # Requests per minute
3838
TPM_LIMIT = 750_000 # Tokens per minute

0 commit comments

Comments
 (0)