feat: add Gemini 3.1 flash TTS support, implement streaming response …#6134
Conversation
…handling, and include new examples and tests.
|
|
| ] | ||
|
|
||
| DEFAULT_MODEL = "gemini-2.5-flash-preview-tts" | ||
| DEFAULT_MODEL = "gemini-3.1-flash-tts-preview" |
There was a problem hiding this comment.
🚩 Default model changed to 'gemini-3.1-flash-tts-preview' — breaking change for existing users
The DEFAULT_MODEL was changed from "gemini-2.5-flash-preview-tts" to "gemini-3.1-flash-tts-preview". Any existing code that instantiates GeminiTTS() without explicitly passing model= will now use a different model. This is a behavioral change that could affect output quality, latency, or pricing. Worth noting in changelog/release notes. The old model is still available in the GEMINI_TTS_MODELS literal type, so users can pin to it explicitly.
Was this helpful? React with 👍 or 👎 to provide feedback.
…handling, and include new examples and tests.