alert-musician-88711
10/16/2025, 5:53 AMtall-airline-16756
10/16/2025, 5:53 AMtall-airline-16756
10/16/2025, 5:54 AM@session.on("error")
def on_error(ev: ErrorEvent):
if ev.error.recoverable:
return
if isinstance(ev.source, (tts.TTS, llm.LLM)):
ev.error.recoverable = True
return
• Monitor and Optimize: Make sure you have enough workers available and try deploying agents in regions closer to AI service providers to help reduce latency.
• Request Quota Increases: If you find that your workload often goes beyond the default limits (5 active connections for STT and TTS), you can easily request a quota increase through LiveKit Cloud.
Please feel free to reach out if you’d like any help with these steps or if there’s anything else I can assist you with. I’m here to support you!
Sources: livekit-agents/livekit/agents/inference/tts.py | livekit/livekit_agent_dispatch.twirp.go | Quotas and limits | LiveKit Docs | Operational Guidance & Best Practices | livekit/livekit_composite | DeepWik... | Troubleshooting & Common Issues | livekit/livekit_composite | DeepWikialert-musician-88711
10/16/2025, 5:58 AMtall-airline-16756
10/16/2025, 5:58 AMalert-musician-88711
10/16/2025, 6:03 AMtall-airline-16756
10/16/2025, 6:03 AMalert-musician-88711
10/16/2025, 6:07 AM