Skip to content

fix: use gemini-2.5-flash-latest - #70

Merged
MatMatt merged 1 commit into
eea:mainfrom
MatMatt:fix/gemini-model-v2
Jul 28, 2026
Merged

fix: use gemini-2.5-flash-latest#70
MatMatt merged 1 commit into
eea:mainfrom
MatMatt:fix/gemini-model-v2

Conversation

@MatMatt

@MatMatt MatMatt commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Previous attempt with gemini-2.5-flash-001 also failed (not found in v1beta API). Trying gemini-2.5-flash-latest which should resolve to the current stable version.

@MatMatt
MatMatt requested a review from mckeea as a code owner July 28, 2026 05:09
@MatMatt
MatMatt merged commit 0391d37 into eea:main Jul 28, 2026
0 of 2 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6a2623ae24

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

# 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 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant