Skip to content

fix: default VOICE_MODEL to gemini-3.8-live before 3.1 live preview retires - #4453

Merged
vybe merged 2 commits into
Abilityai:devfrom
pcbeingused333:fix/voice-model-4440
Nov 11, 2026
Merged

vybe merged 2 commits into
Abilityai:devfrom
pcbeingused333:fix/voice-model-4440

Conversation

@pcbeingused333

Copy link
Copy Markdown
Contributor

Fixes #4440

Cause. Google retires gemini-3.1-flash-live-preview on 2026-11-17 and lists gemini-3.8-live as its replacement (https://ai.google.dev/gemini-api/docs/deprecations). The built-in default for VOICE_MODEL points 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-live in src/backend/config.py, docker-compose.yml, docker-compose.prod.yml, docker-compose.hosted.yml and .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.py now expects the new default (fails on dev, 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.

pcbeingused333 and others added 2 commits November 10, 2026 17:42
…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>
@vybe

vybe commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

merge-train (2026-11-11): validated READY at 677610573 (lane C: /validate-pr, /review, /cso). Google's deprecations page confirms gemini-3.8-live replaces gemini-3.1-flash-live-preview, which shuts down on 2026-11-17.

Pushed one mechanical commit to your branch: test_compose_default_is_non_empty now also covers docker-compose.hosted.yml. Before, reverting the hosted default to the retiring id stayed green; now it goes red. No other change.

@vybe vybe 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.

merge-train: batch validated on train/20261111-0613 (#4463)

@vybe
vybe merged commit 32e3cac into Abilityai:dev Nov 11, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants