https://retellai.com/?utm_source=discord&utm_medium=seo logo
Simulations Not Ending Properly for Outbound Agent...
# ❓・bug-report
h
No matter how clear and how simple I make the instructions, the User Agent never ends the call and it keeps resulting in “Ending the conversation early as there might be a loop.” I have used simulations extensively for inbound agents and those work perfectly. However, no matter how simple I make the instructions for the outbound agents, the User Agent does not trigger end_call correctly. Even when the user prompt is reduced to just two lines: “You are Agent. Say this line: ‘wait... is this call being recorded?’ When Pam replies, say: ‘Thanks, that’s all I needed. Ending the call now.’ Then call end_call. Do not say anything else after that.” The simulation keeps repeating the same ending line and never exits, which causes the loop detection message. Expected behavior: after saying “Ending the call now.” the user agent should call
end_call
, and the simulation should terminate immediately. Request: please confirm whether this is a known issue with outbound agent simulations or if end_call must be handled differently for outbound tests.
c
did you add the function end_call?
h
to what? the user agent doesnt allow me to add functions to it. the main agent im testing needs to not have the end_call function
c
well unfortunately if you don’t have that end_call function there’s no tools to call lol
can i ask why you can’t have that?
h
...
no dude
in simulations there are 3 agents. Agent A: the agent you are evlauating Agent B: the conversational agent Agent C: the evaluator agent Agent A: in my case is an
outbound
agent that calls dealerships. This should never end the call. I will not add the tool call to this one because I should never hang up on my customers. Agent B: is the one having the conversation and should end the call, however I cant add end_call to the user agent. I can only edit the
User Prompt
Agent C: is the evaluator. It just says if it passes or not. This is the agent that takes in
Success Criteria
I have
inbound
call agents that also don't have
end_call
tool functions however those dont loop because the conversational agent ends the call.
c
i’m a little confused why agent b can’t have the end_call tool
why can’t you modify the user agent
h
cuz this is your platform man
let me try to be more clear
Your simulation uses three roles: Agent A = System under test (our outbound agent) — must not have end_call this is a user requirement Agent B = User/Conversational simulator — should have end_call. This is your platform. You only allow me to add a User Prompt to determine the behavior of the Conversational Agent. You don't let me add end_call to this. Agent C = Evaluator — applies Success Criteria In the “Edit Test Case” UI, the only fields exposed for Agent B is User Prompt. There’s no option to attach tools (e.g., end_call), so the simulation never terminates properly unless we give end_call to Agent A — which breaks production parity. https://cdn.discordapp.com/attachments/1432468728867590298/1432565996245356544/image.png?ex=6901848d&is=6900330d&hm=30fc499986de7ee7d1fd8e77379bf2dcc1b320ee2937ad316ed6dd00601f019a&