You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: add minimum budget guard to prevent wasted LLM calls near timeout
When earlier pipeline stages consume most of the timeout budget, later
stages and ReAct loop steps start with insufficient time, virtually
guaranteeing a mid-call timeout that still bills a full LLM request.
Changes:
- Runner: skip step when remaining budget < 8s (step > 0 only)
- Orchestrator: skip stage when remaining budget < 15s (index > 0 only)
- First step/stage always runs regardless of budget size, so small
overall timeouts still work for simple pipelines and tests
0 commit comments