Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Twilio ASR and TTS behavior for better modularity and defaul…
…t handling - Fix KeyError when calling a bot that has no asr/tts selected - Remove the `get_twilio_tts_voice` and `get_twilio_asr_language` functions. - Add `resolve_twilio_asr_language` and `resolve_twilio_tts_voice` functions to handle language and voice determination. - Refactor `create_voice_call_response` and `resp_say_or_tts_play` to use new resolve functions. - Update constants for default and supported ASR languages and TTS voices.
- Loading branch information