Auto-Router: hängengebliebene Aufgaben automatisch eskalieren
Der Auto-Router kann mit der Option stall_escalation_enabled: true eigenständig hängengebliebene Aufgaben erkennen und auf eine höhere Stufe eskalieren.
Mid-task escalation: the Auto-Router bumps a stuck request to a higher tier
🚀 Help shape the Auto-Router
Get early access, work directly with the LiteLLM team, and influence the roadmap with your production traffic.
Apply to Become a Design Partner
Already testing it? Share your results in discussion #32168.
A cheap model can get stuck mid-task: it calls the same tool with the same arguments three times, or the same call keeps erroring, while the newest message in that history still reads as a harmless follow-up like "can you try a different approach?" Read on its own, that turn classifies SIMPLE every time, so the router sends it right back to the model that was already failing. Until now, the only way out was a person noticing the loop and typing an escalation keyword.
stall_escalation_enabled: true gives the router that judgment on its own.
How it decides
- Reads the assistant's own tool calls, not the human's messages. A task counts as stalled once the newest call repeats, or errors, at least
stall_escalation_repeat_thresholdtimes across the laststall_escalation_windowcalls …