many-controller-54194
10/10/2025, 2:41 AMtall-airline-16756
10/10/2025, 2:42 AMtall-airline-16756
10/10/2025, 2:42 AMsession.update_agent() or function tools that spawn new agent instances. If you’re aiming to use just one agent, simplifying your code to remove these patterns can make a big difference.
Please feel free to reach out if you'd like me to walk you through modifying your code or if you have any other questions. I’m here to help!
Sources: livekit-agents/livekit/agents/voice/agent_session.py | main.py | metrics/metrics_stt.py