Skip to content

chore(py): Update samples to use gemini-*latest#5328

Merged
huangjeff5 merged 1 commit into
mainfrom
jh-update-samples
May 14, 2026
Merged

chore(py): Update samples to use gemini-*latest#5328
huangjeff5 merged 1 commit into
mainfrom
jh-update-samples

Conversation

@huangjeff5
Copy link
Copy Markdown
Contributor

Update pattern in our samples so they don't break when models get deprecated.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the Gemini model identifiers across various sample applications to use version-agnostic aliases. The reviewer noted that the new model names, such as gemini-flash-latest and gemini-pro-latest, appear to be missing the required version numbers (e.g., 1.5) according to standard naming conventions. Suggestions were provided to use more specific aliases like gemini-1.5-flash-latest to ensure compatibility.

Comment thread py/samples/context/src/main.py
Comment thread py/samples/evaluators/src/main.py
Comment thread py/samples/fastapi-bugbot/prompts/analyze_bugs.prompt
@huangjeff5 huangjeff5 merged commit 0defbfc into main May 14, 2026
19 checks passed
@huangjeff5 huangjeff5 deleted the jh-update-samples branch May 14, 2026 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants