Chat completion endpoint returns empty result on V...
# support
a
It seems for vapi built tools (
endCall
) or (
transfer
) they get removed from the chat completions endpoint. The response is an empty array and empty string. However, when looking at call history they are there as a
tool_calls
. The chat completion works for other tools that aren't Vapi defined, but it's the Vapi defined ones that seem to be gtting filtered. Could this be solved?
c
Hey Arash, you have to include these tools in your custom LLM tools and then when model requests them you have to send done stream back to Vapi with function name.
5 Views