500 B
500 B
- Improved audio context management in
AudioContextTTSServiceby moving context ID tracking to the base class and addingreuse_context_id_within_turnparameter to control concurrent TTS request handling.- Added helper methods:
has_active_audio_context(),get_active_audio_context_id(),remove_active_audio_context(),reset_active_audio_context() - Simplified Cartesia, ElevenLabs, Inworld, Rime, AsyncAI, and Gradium TTS implementations by removing duplicate context management code
- Added helper methods: