Skip to content

chore(genai): Update Gemini Model IDs#14337

Open
holtskinner wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
holtskinner:main
Open

chore(genai): Update Gemini Model IDs#14337
holtskinner wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
holtskinner:main

Conversation

@holtskinner

Copy link
Copy Markdown
Contributor
  • gemini-2.5-flash -> gemini-3.5-flash
  • gemini-2.5-pro -> gemini-3.1-pro-preview
  • gemini-2.0-flash-live-preview-04-09 -> gemini-live-2.5-flash-native-audio

Post-Approval Actions

  • Please merge this PR for me once it is approved

- `gemini-2.5-flash` -> `gemini-3.5-flash`
- `gemini-2.5-pro` -> `gemini-3.1-pro-preview`
- `gemini-2.0-flash-live-preview-04-09` -> `gemini-live-2.5-flash-native-audio`
@holtskinner holtskinner requested review from a team as code owners June 18, 2026 18:09
@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Jun 18, 2026

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

Copy link
Copy Markdown
Contributor

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 versions across numerous GenAI sample files, upgrading gemini-2.5-flash to gemini-3.5-flash, gemini-2.0-flash-live-preview-04-09 to gemini-live-2.5-flash-native-audio, and gemini-2.5-pro to gemini-3.1-pro-preview. It also reformats several import statements. The feedback recommends reordering the imports in genai/express_mode/test_express_mode_examples.py to comply with PEP 8 standards by grouping third-party imports before local ones.

Comment thread genai/express_mode/test_express_mode_examples.py Outdated
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@holtskinner

Copy link
Copy Markdown
Contributor Author

@iennae I'm not able to see what errors occurred in the Kokoro tests

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

Labels

samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants