Repository navigation
Agent stalls in a tool-call loop: an unrelated tool with no goal, then repeated wait calls #14828
Unanswered
Carrie-shen
asked this question in
Q&A
Replies: 1 comment 1 reply
|
Adding a cap on tool calls per turn and aborting when the same tool repeats with identical arguments should catch loops that slip past EMPTY_RESPONSE. Putting a hard timeout on blocking wait calls will also stop the turn from hanging silently, and trimming down those ~97 injected tools helps keep the model from picking an unrelated tool in the first place. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What happened
In a long-lived session (persona prompt fully replacing the system prompt, ~97 tools injected per request, multi-day history), one turn went like this:
Why I think this is a separate failure mode
stop, so a reasoning-only /EMPTY_RESPONSEguard would never catch it.Mitigations we are considering
Question
Has anyone else hit this shape? Happy to share logs or traces if it helps.
All reactions