Vapi ignoring system prompt and incorrect tool inv...
# support
g
Since the las week, I have been experiencing an issue where vapi doesn't properly follow the defined system prompt, resulting in an unexpected behavior and incorrect tool selection or invocation during the call. This can lead to wrong response or tool not being triggered as intended.
v
Thank you for sharing the issue. To help diagnose why Vapi is not following your system prompt or invoking the correct tool, could you provide a specific example of the prompt and the unexpected behavior you observed during a recent call? Sources: - [Vapi Prompting Guide](https://docs.vapi.ai/prompting-guide) - [Vapi Debugging Guide](https://docs.vapi.ai/debugging)
c
Hi, thanks for reaching out. Can you please share few affected Call IDs?
g
The assistant always call the fisrt tool even thoug I set intructions to call an specific tool when the user needs that information. It appear to be stuck using only the first tool. 019bdc22-c2e8-7ee4-b06d-16eca467f578
o
Me too! I'm going to be testing vapi today to see if it works yet. By the way Gera, are you having this issue in just vapi.ai? outside of vapi.ai? or both? My issues I experienced were inside vapi.ai, it was suddenly never ending the call, despite my being a genius prompt writer, and as I kept testing and using diff models I had other issues: - bizarre sounds from AI voice like meowing, growling, exaggerated sighs - not ending calls reliably all of a sudden - still unreliable at ending calls even after simplifying and minimizing the prompt 3-5 times - talking about things not in the prompt (selling solar panels, advertising VAPI, other VAPI talk) - realizing its not using the {{ }} variable I set up in the squads testing environment - ... restarted my PC 2 times because I was loosing it, thought it might be cache issues, absolute state of despair, all hope lost... x_x
g
Same feeling. I am using inside vapi.ai, and it's becomes a real headache because I've already applied all the best practice I know, and it still keeps failing.
c
Hi, Thanks for sharing the call ID. I checked the logs and it looks like the prompt was updated and the assistant behavior has changed since then. Could you please confirm whether you’re still seeing this issue? If so, please share a recent call ID where the assistant is still getting stuck on the first tool so we can take another look. Thanks, Shaunak