`endCall` function and custom function getting cal...
# support
a
Hi team, we have an assistant that keeps calling two functions at the exact same timestamp. Both
endCall
and a custom function we created. The prompt clearly has these as two separate steps but we keep running into this case. Is this purely a prompting issue? Or could there be another issue here? The outcome is that the assistant unexpectadly ends the call while processing a user request, so quite concerning. Call ID: 69368463-1f60-48c6-add0-91970608a5c2 Timestamp: 15:47:11:332 Assistant ID: 875a708f-c3b2-4433-9d0b-5d43da9544d2
v
You can continue this conversation by mentioning me in the message.
@amir I understand the issue you're facing with the assistant calling two functions simultaneously when they should be executed sequentially. This could be due to a variety of factors including prompting issues, or it might be related to the way the assistant is interpreting the instructions. To resolve this, we should review the prompt structure to ensure that the instructions for calling functions are clearly delineated and that there is no ambiguity that could cause the assistant to execute them in parallel. Additionally, we should check if there are any configurations or settings within the assistant that might be causing this behavior. If the prompt and settings seem correct, it could be beneficial to look into the assistant's logic or the code that handles function execution to see if there's an underlying issue there. If you need further assistance with this, please provide more details or the specific part of the prompt that is causing the issue, and we can investigate further.
a
Hey @User could you please take a look?
@Vapi that didn't solve it. Can you escalate to the team?
v
@amir Sweet. Have a great day!
s
@amir just checking if your still blocked on this? Because ticket was marked as solved!!
a
Hey @Shubham Bajaj yes I am, would appreicate your help. Bot marked it as solved incorrectly so i ended up creating another duplicate ticket [here](https://discord.com/channels/1211482211119796234/1316444227563159592/1316444227563159592)