still-limeS

Tool response is not being verbalized by the agent

Hello I am trying to use tools using the API, and the tool is working correctly and returning a response however the assistant is not saying the response immediately even if the request is already complete.

I always have to say something again before it tells me the tool output. How do I fix this and what are the possible causes of this bug?

CALL ID: 44b38ec3-c0ad-44b6-9fde-8a232670acb6

Thank you!

This is what my API returns:
return jsonify({
                 "results": [
                     {
                       "toolCallId": tool_call_id,
                       "result": result_string
                     }
                   ]
               })


Then I have attached a photo of a code snippet of how I am using the tool in my code:
image.png
Was this page helpful?