Claude 3.5 Function Calls not Working
# support
c
Very weird... If I use openai gpt 4.o , groq -llama3 same exact prompts super speedy function calls. Claude acts like its calling the function, has all the variables needed, it says I'm calling the function but I have it set up to log when it tries. It literally never actual tries to make the attempt. It was working couple days ago and then it just stopped. I have no idea why. I know everything is correct as no issues with others just claude 3.5 "model": "claude-3-5-sonnet-20240620", "provider": "anthropic", I get the strong feeling this is on the VAPI side. call id: fda8c940-095c-4315-b5d2-8ec306473444
v
@chia5966 I'm sorry to hear you're experiencing issues with your function calls using Claude 3.5. It's quite puzzling that everything was working fine and then suddenly stopped without any changes on your end. Since you've mentioned that the setup is correct and it's working with other models, it does seem like the issue could be on the VAPI side. To assist you better, could you please provide me with more details about the function you're trying to call and the exact setup you're using? This will help me understand the situation more clearly and guide you towards a resolution. If there's any specific error message you're receiving, that would also be helpful to know. In the meantime, if you haven't already, I would recommend checking the following: 1. Ensure that there are no service outages or maintenance updates on the VAPI side that could be affecting the function calls. 2. Verify that the API keys and authentication details are still valid and have not been inadvertently changed or expired. 3. Review any recent changes to the VAPI or your system that might have coincided with the issue starting. If everything seems to be in order and you're still facing the problem, it might be necessary to reach out to VAPI support for a more in-depth investigation. Please let me know how you would like to proceed.
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.
b
Yep, this is a thing. We had to switch back to GPT4o
c
@Brian Searl wow really? I kinda thought maybe there was bug in the tooling with vapi ... when claude is working its awesome..but these function calls a deal breaker
is this a vapi issue? or a claude issue?
s
@chia5966 it's something with Anthropic models it's not returning in correct format which tool to call. For reference here's the error message:
Couldn't Parse Anthropic Tool Calls XML Str to JSON.
.
It will be really great if you can share few other call ids as well if you have which has same issue with claude/Anthropic.
FYI: @Brian Searl
c
@Sahil i got a text message that we had a meeting today but i had it for tomorrow?
Well magically claude is working again today...
@Shubham Bajaj did you guys fix something? claude just started working again
s
bug is resolved now.
4 Views