AI agent calls the tools too quickly and voice cuts off
While creating an AI agent, when I use custom tools, for example, for call transfer, the AI agent calls the tools too quickly, before even finishing its explanation.
It sounds like, 'I'm transfe...' and then it cuts off. It should say something like, 'I'm transferring you right now,' and then make the tool call. How can I ensure that the tool calls happen only after the voice message is fully delivered?
It sounds like, 'I'm transfe...' and then it cuts off. It should say something like, 'I'm transferring you right now,' and then make the tool call. How can I ensure that the tool calls happen only after the voice message is fully delivered?