Hello i have an issue where my assistant
# general-english
m
Hello i have an issue where my assistant is not handling the end of call correctly. I have prompted it like this using the built-in VAPI AI: 2. If they are not interested: - Immediately return the following: { "function_call": { "name": "endCall", "arguments": "{}" } } ⚠️ Do not say anything else. Do not confirm, respond, or summarize. Do not speak the JSON. When i call the endpoint
{{baseUrl}}/assistant/:id
the
endCallMessage
is set to " ", so it doesnt say anything. When i run the call, it either doesnt hang up like its supposed to, or it reset the endCallMessage to the VAPI default and then hangs up. Are there any thoughts on how to perfect this?
k
Set endCallMessage to null (not a space), ensure the endCall tool is included, avoid conflicting endCallPhrases.