Repository navigation
fix(tests): update tests to reflect the new default models - #48
Merged
Merged
Conversation
…mmands Update default models and `--model` suggestions in the CLI overlays and porcelain commands, and display the default model in the `analyze` and `transcribe` command summaries: - `generate`: default `gemini-3.8-flash` - `image`: default `gemini-3.1-flash-image` (suggestions: `gemini-3.1-flash-image`, `gemini-3-pro-image`, `nano-banana-pro-preview`) - `music`: default `lyria-3.5` (suggestions: `lyria-3.5`, `lyria-3-pro-preview`, `lyria-3-clip-preview`) - `tts`: default `gemini-3.8-flash-tts` - `video`: default `gemini-omni-1.1-flash` (suggestions: `gemini-omni-1.1-flash`, `gemini-omni-flash-preview`) - `analyze`, `transcribe`: default `gemini-3.8-flash` (and include `(gemini-3.8-flash)` in command summaries) PiperOrigin-RevId: 990006165
Align contract assertions with the new defaults: `gemini-3.8-flash` for `generate`, `agent run`, and the `models` catalog, and `gemini-3.8-flash-tts` for `tts`.
The `generate-default-model` scenario asserts the CLI's default text model, which is now `gemini-3.8-flash`. Align the mock server's fallback model and models listing, and the README's example invocation.
There was a problem hiding this comment.
Code Review
This pull request updates the default Gemini models across the CLI, SDK, documentation, and tests, transitioning to gemini-3.8-flash as the default text model, alongside updates to the default music, TTS, and video models. Additionally, deprecated Temperature and TopP fields have been added to the SDK's GenerationConfig. Feedback on the changes highlights a missed reference to gemini-3.6-flash in one of the command examples within internal/cli/agent/run.go, which should be updated to maintain consistency.
wanlin31
approved these changes
Sep 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow up on 09ca8a2
The CLI's default models were recently updated (for example,
generateandagent runnow usegemini-3.8-flash, andttsnow usesgemini-3.8-flash-tts). This PR updates the contract tests and the harness-comparison evals to expect the new defaults.