Assistant not speaking tool response
# support
a
My assistant makes multiple tool calls during a given conversation. It used to relay back the response to the caller as soon as the tool call finished. Since last week, without me changing anything, it has stopped automatically relating the tool response to caller. It simply makes the tool call and sits idle. The caller has to utter something, and only then it relays the last tools response. It's very irritating. The tool calls are NOT async. Can someone pls look into this ? @Vapi @Shubham Bajaj #incorrect
Every few weeks you guys roll out a new feature and tool calling breaks. Either tools don't get called or they automatically become async or some other stuff happens. Infact I am so scared of a bug on the tools page that I'm now using your Tools update api to make changes rather than than the UI itself. The bug is that if you put some text in any tool message .. say tool start or tool end or delay on any one of the tools and you save it.. it will save the same message for all tools ... So when I set it to " adding to order" for addtoorder tool as start message, it says adding to order even when it's retriving the callers details automatically.
The same thing happens when I set any one tool to be async or if I expand the integration panel on a tool detail page and just change a parameter, the server secret field gets cleared from your db and then o have to go in and update it in 10 different tools.
@User @Shubham Bajaj
@Support.Voice-Agent
@Ryan can you pls check the first post. The second one I can handle with APIs but the first one is breaking prod
k
Hey! To help track down this issue, could you share: - The call ID This would really help us figure out what went wrong!
a
Sure.
This one from 17th Feb works perfectly.. notice how it automatically relays back the information from tool responses without being prompted. Call id : 3f3ca2f7-9d38-40cc-8887-99b7224800a1 And this is the one from today : b9f0e089-1ff4-452c-ab60-b78271d3eae4 In the second one you will notice that after making the tool call, if i dont say anything it asks me if im there.. only when i respond does it relay the message. ... otherwise i have to manually prompt it with "Hello?" and then it continues the conversation. This happens for every turn of the conversation. let me know if you need anything else @Shubham Bajaj .
@Shubham Bajaj any update ? We are stuck . Or should we start evaluating 11 labs and deepgram agents/assistants that they recently introduced
@Shubham Bajaj @User @Vapi @VAPI Tech
s
@Aslam Shareef Sorry for the delay, I was #ooo and couldn't respond in required time.
Honeslty Apologies for your expirincing it won't be repeating again for you.
🔵 18:18:14:317 Server Message Requested...(tool-calls , https://www.a-----------s): { "type": "tool-calls", "toolCalls": [ { "id": "call_2RTcSqKpeozxN5kKQQRbY9kL", "type": "function", "function": { "name": "GetCustomerDetails", "arguments": { "restaurant_code": "1A---------------DADE" } } } ], "toolCallList": [ { "id": "call_2RTcSqKpeozxN5kKQQRbY9kL", "type": "function", "function": { "name": "GetCustomerDetails", "arguments": { "restaurant_code": "1A--------------ADE" } } } ], "toolWithToolCallList": [ { "type": "function", "function": { "name": "GetCustomerDetails", "async": false, "parameters": { "type": "object", "required": ["restaurant_code"], "properties": { "restaurant_code": { "type": "string", "description": "the unique identifier of the restaurant" } } }, "description": "Gets customer details. Call this immediately after introducing yourself. If the customer's name is present, use it when addressing him/her. At checkout do not ask for the customer's details\n" }, "async": false, "server": { "url": "https://www.---------omerDetails", "timeoutSeconds": 60 }, "messages": [ { "type": "request-response-delayed", "content": " ", "conditions": [], "contents": [], "timingMilliseconds": 0 }, { "type": "request-complete", "content": " ", "contents": [], "conditions": [], "endCallAfterSpokenEnabled": false, "role": "assistant" }, { "type": "request-failed", "content": " ", "conditions": [], "contents": [], "endCallAfterSpokenEnabled": false }, { "type": "request-start", "content": " ", "contents": [], "conditions": [], "blocking": false } ], "toolCall": { "id": "call_2RTcSqKpeozxN5kKQQRbY9kL", "type": "function", "function": { "name": "GetCustomerDetails", "arguments": { "restaurant_code": "1A--------ADE" } } } } ] } I noticed that the tool call request-complete message was set to an empty string. This caused the assistant to not use the assistant turn tool call response to generate its next response, and this issue was repeated for other responses. To fix this, simply remove the not-required messages, such as request-complete, from the messages array. This should resolve the problem. https://cdn.discordapp.com/attachments/1343933426721488896/1345779182206058618/Screenshot_2025-03-02_at_8.52.10_PM.png?ex=67c5ca08&is=67c47888&hm=2a4d46b6e97f65444790deb9296f761bc3a75e19e79a5348f9a6006d0b6797ce&
@Aslam Shareef Please make the change and let me know how it goes for you.
a
Thanks Shubhan. Will try and let you know .
Hi @Shubham Bajaj i removed the empty strings but the issue still persists
Here is the most recent callid after the change : 92feb29e-73cb-4379-96d3-ce0b435bc333
My bad... It works now...thank you so much for your help !
k
Marking this ticket as Solved ✅
2 Views