prehistoric-alligator-43413
10/30/2025, 7:49 PMtall-airline-16756
10/30/2025, 7:50 PMtall-airline-16756
10/30/2025, 7:50 PMturn_detection empty or unset, LiveKit will kindly choose the best turn detection mode for you, based on what’s available in your agent configuration. It follows this helpful priority order:
• Realtime LLM (if you have a RealtimeModel with server-side turn detection ready)
• VAD (if a VAD model is included)
• STT (if there’s an STT model with streaming capabilities)
• Manual (if none of the above fit, which means your application will handle turn management explicitly)
And don’t worry—if a mode is chosen but misses some required components (like VAD without a VAD model), the system will gently log a warning and move on to the next best option. This way, everything keeps running smoothly even if the configuration isn’t fully complete.
Sources: examples/voice_agents/push_to_talk.py | agents/src/voice/agent_activity.ts | How does end-of-utterance detection work in conversations?prehistoric-alligator-43413
10/30/2025, 7:51 PMtall-airline-16756
10/30/2025, 7:53 PM