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
2 changes: 1 addition & 1 deletion .github/scripts/helpers/gemini_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

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 Select a model available to the workflow API key

With a newly created or otherwise unprovisioned Gemini Developer API key, Gemini 2.5 Flash remains unavailable, so changing only the alias does not fix the observed not-found failures. Every non-dry call in deploy-docs.yml still passes this constant to client.models.generate_content, preventing the production AI update steps from completing; use a generally available model for this key, such as gemini-2.0-flash, or explicitly provision access before selecting 2.5 Flash.

Useful? React with 👍 / 👎.


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