Skip to content

Fix/sarvam tts update options language code#4957

Merged
davidzhao merged 2 commits intolivekit:mainfrom
yusuf-eren:fix/sarvam-tts-update-options-language-code
Mar 2, 2026
Merged

Fix/sarvam tts update options language code#4957
davidzhao merged 2 commits intolivekit:mainfrom
yusuf-eren:fix/sarvam-tts-update-options-language-code

Conversation

@yusuf-eren
Copy link
Contributor

@yusuf-eren yusuf-eren commented Feb 26, 2026

Summary

  • Add target_language_code parameter to TTS.update_options() in the Sarvam plugin, with empty-string validation consistent with the constructor.

Fix

The constructor accepts target_language_code but update_options() did not, making it impossible to switch the TTS language mid-session without accessing private attributes.

devin-ai-integration[bot]

This comment was marked as resolved.

@davidzhao davidzhao merged commit f69fabc into livekit:main Mar 2, 2026
9 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.

2 participants