Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/scripts/helpers/gemini_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Use a model available after the 2.0 shutdown

As of this commit's 2026-07-28 date, gemini-2.0-flash had already reached its Gemini API shutdown date on 2026-06-01. Every production generation and cache request passes this constant (for example, generate_content at lines 314/339 and caches.create at line 407), so the deploy-docs.yml update and image-description jobs will receive a model-not-found error rather than fixing access for the new API key. Select a currently served model instead.

Useful? React with 👍 / 👎.


RPM_LIMIT = 995 # Requests per minute
TPM_LIMIT = 750_000 # Tokens per minute
Expand Down
Loading