Hi - noticing an issue where the VAD is detecting ...
# agents
m
Hi - noticing an issue where the VAD is detecting users speaking but no conversation item is being added. For example, this is fine:
Copy code
2025-09-05 10:02:21,003 - INFO __mp_main__ - Conversation item added: {'role': 'assistant', 'content': 'Rupert is currently unavailable at the moment. Would you like me to take a message for him?', 'timestamp': '2025-09-05 10:02:16'}
2025-09-05 10:02:22,420 - INFO agent.audio_monitor - User state changed from listening to speaking
2025-09-05 10:02:22,420 - INFO __mp_main__ - User started speaking at: 2025-09-05 10:02:22
2025-09-05 10:02:23,270 - INFO agent.audio_monitor - User state changed from speaking to listening
2025-09-05 10:02:23,306 - INFO __mp_main__ - Conversation item added: {'role': 'user', 'content': 'Yes, please.', 'timestamp': '2025-09-05 10:02:22'}
But after this the agent asks for the users name and whilst the user state changes there is no other conversation items added. I can hear the user say his name on the call recording:
Copy code
2025-09-05 10:02:30,101 - INFO __mp_main__ - Conversation item added: {'role': 'assistant', 'content': 'Great — I'll take a few quick details to help with the message. Can I grab your full name?', 'timestamp': '2025-09-05 10:02:24'}
2025-09-05 10:02:31,569 - INFO agent.audio_monitor - User state changed from listening to speaking
2025-09-05 10:02:31,570 - INFO __mp_main__ - User started speaking at: 2025-09-05 10:02:31
2025-09-05 10:02:32,669 - INFO agent.audio_monitor - User state changed from speaking to listening
2025-09-05 10:02:38,669 - INFO agent.audio_monitor - User state changed from listening to away
Any ideas on this one?
m
Facing same issue , user is speaking something and the agent gets the event but no reply. Creating silence in between the conversation. Please let me know if you get the root cause or fix for it . Btw how are you testing it ? The react frontend or using phone ?
m
@refined-appointment-81829 @jolly-air-155 any thoughts on this one?
j
what STT are you using, from the logs the speaking duration is around 1.1s, so probably the STT missed it.
m
Deepgram with default config