Hi! We have a problem with our Swedish
# office-hours
l
Hi! We have a problem with our Swedish agent for idle messages and timout messages. It is reading our messages correctly, but when using the endCall it adds "goodbye". We can't find this anywhere in our code or in Vapi where we can remove the english "goodbye", it seems to be coming from Vapi. Anyone else had this problem? Example 1. Silence / Idle Messages (customer.speech.timeout) When the customer stops speaking, the system triggers warnings and eventually terminates the call to free up the line. Idle Warning (10 Seconds of Silence) English:"Are you still there?" Swedish:"Hallå, är du kvar?" Termination (30 Seconds of Silence) English:"I cannot hear any response, so I will now end the call. Please feel free to call again." Swedish:"Jag hör inget svar, så jag kommer nu att avsluta samtalet. Välkommen att ringa igen." Action:Automatically triggers the endCalltool right after speaking.
t
This usually happens when the default Vapi endCall message is still being appended after your custom prompt executes, especially if the locale/system prompt doesn’t fully override the termination handler. I can help you fix it by reviewing your agent prompt and timeout configuration we’ll either override the default goodbye text or properly localize the endCall behavior so it only uses your Swedish script. @Lajna
l
Thanks! Do you think it helps if we create an endCall tool and set the response to none --> connect that to the agent?