assistant stops speaking mid call
# support
s
Hello VAPI Support, I have noticed that the AI assistant “patient-finder” stops abruptly in the middle of a call. Could you please review the logs to identify the issue? Below are the relevant details: • call ID ex 1: 0bbaf3cf-bb8f-4a24-8447-8a7a7324f9a3 • call ID ex 2: 5c72feda-0a9c-46a2-8dc0-fda66a499bfa • Log Entry: ```{ "role": "tool_calls", "time": 1736329935416, "message": "", "toolCalls": [ { "id": "call_HuB8TulNtANYWy4LDW4R5oRm", "type": "function", "function": { "name": "transferCall", "arguments": "{\"destination\": \"patient-finder\"}" } } ], "secondsFromStart": 23.654 }``
@Shubham Bajaj
v
@Samuel Hello, Thank you for bringing this to our attention. To assist you better, I would need to retrieve more information about the assistant "patient-finder" and the calls in question. Could you please provide me with the phone numbers associated with these call IDs? This will help me to request the specific assistant details from your server and investigate the issue further.
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.
s
@Samuel What has happened is your model tried to call a tool which doesn't exist, and because of that it hung and then no response was generated, which resulted in silence. Remove the tool visible in the logs and then it will work. https://cdn.discordapp.com/attachments/1326491782640439339/1326961201086861423/Screenshot_2025-01-09_at_22.38.59.png?ex=6781546c&is=678002ec&hm=5c716c290d2a29b7ea2ddbbe02a97661c9d88448c9ee15b3e22dfd2f0e63234b&
@Samuel do let me know how it goes!!
s
thanks !
@Shubham Bajaj Do you have any advice to completely avoid this? Any prompt or configuration to prevent confusion between a tool and an assistant?
s
@Samuel There is no confusion between tools and assistants. Instead, you should remove any dead or non-existing tools from your assistant's tools list. If you have many tools, you can verify if a tool exists by making a GET request to /tool/:id before making the call.
s
@Shubham Bajaj Yes, but in the screenshot you provided, the missing tool “take-rdv” is actually an assistant in our squad.
s
@Samuel To transfer to an assistant, you can follow this: trigger the transferCall tool with take-rdv
3 Views