Repository navigation
fix(eval): move the default audio model off gemini-3.1-flash-tts-preview - #570
Open
harishsehlangia wants to merge 1 commit into
Open
harishsehlangia wants to merge 1 commit into
harishsehlangia wants to merge 1 commit into
Conversation
Google's Gemini API deprecations page lists gemini-3.1-flash-tts-preview as a deprecated preview model with a December 18, 2026 shutdown date and recommends gemini-3.8-flash-tts or gemini-3.8-flash-lite-tts instead. Default the audio user simulator to gemini-3.8-flash-tts. It is the same Flash tier, supports the prebuilt voices the run dialog offers, and covers more languages than Flash-Lite. Fixes google#565
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.
What
Changes
DEFAULT_AUDIO_MODEL, the model the eval audio user simulator uses when none is picked, fromgemini-3.1-flash-tts-previewtogemini-3.8-flash-tts, and updates the run dialog test that pins it.Why
Google's Gemini API deprecations page lists
gemini-3.1-flash-tts-previewas a deprecated preview model with a shutdown date of December 18, 2026, and recommendsgemini-3.8-flash-ttsorgemini-3.8-flash-lite-ttsinstead. I pickedgemini-3.8-flash-ttsbecause:Happy to switch to Flash-Lite if you'd prefer the cheaper model.
Testing
npm run test -- --no-watch --browsers=ChromeHeadlessCI: 807 passed, 37 skippednpm run buildsucceedsFixes #565