Skip to content

Replace retired gemini-2.0-flash example model in common.ai docs - #73516

Merged
pankajastro merged 1 commit into
apache:mainfrom
pankajastro:fix-vertex-model-afl-223
Sep 22, 2026
Merged

pankajastro merged 1 commit into
apache:mainfrom
pankajastro:fix-vertex-model-afl-223

Conversation

@pankajastro

Copy link
Copy Markdown
Member

Google shut down gemini-2.0-flash on both Vertex AI and the Generative
Language API, so the connection form's example and every doc page that
copied it sent new users into a 404 on their first run.

Replaces it with gemini-2.5-flash (confirmed current) everywhere it
appeared, and adds a test that checks the documented model name against
a maintained allowlist -- the existing tests only checked the
google-cloud prefix, never the model name itself.


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Sonnet 5)

Generated-by: Claude Code (Sonnet 5) following the guidelines

Google shut this model down on both Vertex AI and the Generative
Language API, so the connection form's placeholder and every doc page
that copied it sent a first-time user straight into a 404. The
existing tests only checked that the google-cloud prefix was a
provider pydantic-ai recognizes, never that the specific model after
the colon was actually servable, which is how a retired name went
unnoticed.
@pankajastro
pankajastro merged commit 3eabbb5 into apache:main Sep 22, 2026
84 checks passed
@pankajastro
pankajastro deleted the fix-vertex-model-afl-223 branch September 22, 2026 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants