Is it possible to hot reload configuration paramet...
# ask-ai
b
Is it possible to hot reload configuration parameters such as tts provider and parameters
t
Thanks for reaching out, Patrick. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — you're asking whether TTS settings can be changed at runtime. You can hot-reload TTS parameters (voice, speed, description, etc.) using the TTS instance’s
update_options
method; updates take effect on the next utterance. For example, with the Hume TTS plugin:
Copy code
session.tts.update_options(
  voice=hume.VoiceByName(name="Colton Rivers", provider=hume.VoiceProvider.hume),
  description="Calm and peaceful tone",
  speed=2,
)
What you cannot change at runtime is the TTS provider itself (for example, switching from ElevenLabs to OpenAI). Changing providers requires reinitializing the
AgentSession
with a different TTS instance or using an agent handoff strategy. Would you like an example for your specific provider or help wiring
update_options
into your session flow? Sources: Hume TTS plugin guide | LiveKit Docs | Gladia STT plugin guide | LiveKit Docs | Agents and handoffs | LiveKit docs