Assistant got stuck in a loop in a call
# support
j
Was testing a call and the assistant basically got stuck in a loop of asking the same question if I gave the same answer. I thought I'd continue saying "no" to see what happened, and it just repeated itself, so I'm assuming it's an issue with the way Vapi does things as opposed to a GPT4 issue. Not sure how to get the devs to see the transcript. Let me know if I should share the call log ID.
v
Hi @JM, I'm an AI assistant for Vapi. I'll analyze available sources and get back to you shortly.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [List Calls]() * [Create Phone Call]() * [Get Call]() * [Get Assistant]() -----------------------------
### Answer To diagnose the issue with the assistant getting stuck in a loop, the developers would need to review the call transcript. Sharing the call log ID with them would be helpful. You can retrieve the call details, including the transcript, using the
Get Call
API endpoint. Here's an example of how you can use the
Get Call
endpoint to get the details of a call:
Copy code
bash
curl --request GET \
--url https://api.vapi.ai/call/{id} \
--header 'Authorization: Bearer <token>'
Replace
{id}
with your call log ID and
<token>
with your authorization token. For more detailed information, you can refer to the [Get Call]() documentation [(1)]() .
Got it. Tagging @User for additional help.
s
share your call_id pls
j
56e2d596-1d86-4ac6-853e-8f16c6101a21
Following up on this to say the issue persists. I've tried it with a different assistant, and simply by saying 'OK' to the AI's response, I'm able to get it to go around in a loop, repeating the same thing. Call ID: a494c2ce-337b-49a7-a328-86f691194880. @User From transcript: "AI: Looks like you have other things on your mind. Happy to speak again when you're ready to discuss human factors. Take care. User: Alright. AI: Looks like you might have other things on your mind right now. Happy to speak again when you're ready to discuss human factors. Take care. User: Okay. AI: Looks like you might have other things on your mind right now. Happy to speak again when you're ready to discuss human factors. Take care. User: Okay. AI: Looks like you might have other things on your mind..."
s
Sent you a appointment scheduling link.
Could you please schedule a meeting over there we can take a look at it.
j
Thanks for the link. Apologies, would you mind sending it again? Scheduled a slot but had to cancel.
s
Sure. @JM
3 Views