### Answer
This is a known issue with conversation flow agents. Other users have reported the same behavior where the agent stops speaking after calling a function, even when the transition logic is working correctly [(1) ](
) .
The issue appears to be related to tool call handling in conversation flows. According to reports from other users, there's an error that occurs: "An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'" .
To fix this issue, you need to configure the speech behavior settings when creating your custom function. In the custom function configuration, there are two key settings [(2) ](
) :
1. **Speak during execution**: Whether the agent speaks when the function is called
2. **Speak after execution**: Whether the agent continues talking after the function call is completed
You should enable "Speak after execution" for your function, as this lets the agent tell the user the result of the function call and continue the conversation without waiting for user input . This setting should be enabled for almost all cases, except for specific tasks like pressing digits where you don't expect the agent to keep talking .
The documentation specifically notes that you can use this setting to "let agent tell user the result of the function call, continue the conversation, execute another task, etc after the function call is completed, without the need to wait for user to say anything to trigger a response" .