realee_23147
07/31/2025, 5:33 PMAI Evy
07/31/2025, 5:33 PMAI Evy
07/31/2025, 5:33 PMbegin_message_delay_ms parameter to delay the first message by a specified amount of milliseconds, giving more time to prepare for the call [(2) ]() [(3) ]() . The valid range is [0, 5000] milliseconds .
The issue you're experiencing might be related to the timing of when tool calls are executed versus when the agent attempts to speak. According to a Discord discussion, there can be timing issues where tool calls are executed before the agent finishes speaking, potentially causing interruptions [(4) ]() .
To troubleshoot your specific issue:
1. Ensure your response event in the WebSocket has proper content when you want the agent to speak after a successful tool call [(1) ]()
2. Check that your content_complete field is set to true when you've finished streaming the response
3. Consider using the begin_message_delay_ms setting if timing is critical [(2) ]() [(3) ]()
If you're still experiencing issues where successful tool calls don't trigger agent speech, you may need to review your WebSocket response event structure and ensure you're properly sending resrealee_23147
07/31/2025, 5:33 PMAI Evy
07/31/2025, 5:33 PMAI Evy
07/31/2025, 5:33 PMAI Evy
07/31/2025, 5:33 PMrealee_23147
07/31/2025, 6:15 PMAI Evy
07/31/2025, 6:15 PMAI Evy
07/31/2025, 6:15 PMreminder_trigger_ms [(1) ]() [(2) ]() . If set (in milliseconds) , this will trigger a reminder to the agent to speak if the user has been silent for the specified duration after some agent speech . This must be a positive number, and if unset, the default value of 10000 ms (10 seconds) will apply .
You can also control how many times the agent will remind the user with reminder_max_count . This controls how many times the agent would remind the user when the user is unresponsive . It must be a non-negative integer, and if unset, the default value of 1 will apply (remind once) . Set to 0 to disable agent from reminding .
Additionally, there's an end_call_after_silence_ms setting . If users stay silent for a period after agent speech, this will end the call . The minimum value allowed is 10,000 ms (10 seconds) , and by default, this is set to 600000 (10 minutes) .
These settings work throughout the conversation flow, not just before tool calls. The agent will use these silence detection and reminder mechanisms during any part of the conversation when it's waiting for user input.
If you're using the LLM WebSocket interface, you can also dynamically update these settings during a call using the Update Agent Event [(3) ]() . You can send an agent update event at any time during the call to modify agent configurations, including reminder_trigger_ms and reminder_max_count .AI Evy
07/31/2025, 6:15 PMAI Evy
07/31/2025, 6:15 PM