how many retry does agent python has on TTS pipeli...
# ask-ai
p
how many retry does agent python has on TTS pipeline. example i use elvenlabs, i get an error how many times does it retry
t
Thanks for reaching out, Bryner. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Just a heads-up: when you're using the Python agent's TTS pipeline with ElevenLabs, it tries up to 3 retries by default (so 4 attempts in total, including the first one). This is managed by the
APIConnectOptions
parameter, specifically the
max_retry
setting. If you want, you can easily change this by passing a different value for
max_retry
when setting up the TTS methods. And hey, if you have any questions or want a hand customizing it, just give me a shout—I’m here to help! Sources: livekit-agents/livekit/agents/tts/fallback_adapter.py | plugins/elevenlabs/src/tts.ts