alex16742s
08/29/2025, 2:00 PMAI Evy
08/29/2025, 2:00 PMAI Evy
08/29/2025, 2:00 PMAI Evy
08/29/2025, 2:00 PMjson
{
"type": "end_call",
"parameters": {
"message": "Great, we're all set—thanks!"
}
}
2. Improve transition conditions with deterministic prompts like "If the system receives END, move to end_call"
3. Add timeout or loop-safety fallback :
json
{
"type": "tool",
"name": "end_after_max_turns",
"parameters": {
"maxTurns": 3
}
}
Additional recommendations:
- Vary how the agent responds to avoid repeating the same phrasing [(1) ]()
- Track conversation progress to avoid circling
- Add clear end points
- Try relaxing success conditions, as overly strict criteria can trigger the error even without actual loops
For limit increases:
If your use case requires longer conversations by design and isn't actually looping, you can contact support@retellai.com with your organization ID to request increased turn limits [(3) ]() .AI Evy
08/29/2025, 2:00 PM