fix(tts): revert pro TTS to gemini-2.5-pro-preview-tts (3.1 pro TTS doesn't exist yet)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Vadym Samoilenko 2026-04-30 21:01:22 +01:00
parent 3fb8dce3ee
commit 713ae46d4a
2 changed files with 2 additions and 2 deletions

View file

@ -222,7 +222,7 @@ class Settings(BaseSettings):
# Gemini TTS Model Options
gemini_tts_models: dict[str, str] = {
"flash": "gemini-3.1-flash-tts-preview", # Fast, cost-efficient
"pro": "gemini-3.1-pro-tts-preview", # Higher quality
"pro": "gemini-2.5-pro-preview-tts", # Higher quality
}
# Gemini TTS Style Presets - prompts prepended to text for style control

View file

@ -32,7 +32,7 @@ _TTS_PROVIDER_MODEL_MAP = {
_TTS_MODEL_STRINGS = {
"flash": "gemini-3.1-flash-tts-preview",
"pro": "gemini-3.1-pro-tts-preview",
"pro": "gemini-2.5-pro-preview-tts",
"standard": "standard",
"wavenet": "wavenet",
"neural2": "neural2",