Repository navigation
fix: default VOICE_MODEL to gemini-3.8-live before 3.1 live preview retires - #4453
Merged
Merged
Conversation
…etires Google retires gemini-3.1-flash-live-preview on 2026-11-17 and names gemini-3.8-live as the replacement. The default in config.py and the three compose files would start failing for every deploy that never set VOICE_MODEL. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…yai#4453) — mechanical, per the merge-train note on the PR Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
merge-train (2026-11-11): validated READY at Pushed one mechanical commit to your branch: |
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.
Fixes #4440
Cause. Google retires
gemini-3.1-flash-live-previewon 2026-11-17 and listsgemini-3.8-liveas its replacement (https://ai.google.dev/gemini-api/docs/deprecations). The built-in default forVOICE_MODELpoints at the retiring id, so voice would fail on every deploy that never set the variable.Fix. Change the default to
models/gemini-3.8-liveinsrc/backend/config.py,docker-compose.yml,docker-compose.prod.yml,docker-compose.hosted.ymland.env.example, and update the docs and docstring that quote the default. Historical notes about behaviour verified on the old model are left as written.Test.
tests/unit/test_1076_voice_model_config.pynow expects the new default (fails ondev, passes here); its compose-parity test also covers the compose files.Docker-compose changes are limited to the default string of one env var.
Disclosure: this change was prepared with the assistance of an AI coding agent (Claude) and submitted by a human contributor.