Has anyone faced false negative interruptions by t...
# agents
p
Has anyone faced false negative interruptions by the agent? The user is still speaking and gets interrupted often. I've tried increasing the
min_endpointing_delay
to 1.0, and made some changes to the
silero.VAD.load
options like
min_speech_duration
and
min_silence_duration
with no luck.
g
Hello! I've had some good luck using the livekit turn detection model plugin:
Copy code
session = AgentSession(
        turn_detection=MultilingualModel(),
        stt=deepgram.STT(model="nova-3", language="multi"),
        llm=google.LLM(model="gemini-2.5-flash", vertexai=True),
        tts=cartesia.TTS(model="sonic-2", voice=voice_id, language="en"),
    )
Here is the link to the documentation: https://docs.livekit.io/agents/build/turns/turn-detector/
p
That's what I am using and I am still having issue. I've tried both Deepgram and Azure STT
g
Have you tried removing the 'vad' argument all together and just rely on the turn_detection? In the documentation it says that it's recommended to include vad as an argument for maximum performance, but I actually found that it performed a bit worse with both active.
p
I've tried this now and it didn't make a difference, Ialways get interrupted after speaking for a few seconds
g
That's interesting. You could try passing this as an argument to the AgentSession class and tweak it as needed: •
max_endpointing_delay
(default 6.0s): Maximum time the agent will wait before terminating the turn regardless
That worked for me for a long time, but ultimately the turn_detection is what I'm relying on now.