Repetition guard extended to tool-call arguments
NousResearch/hermes-agent · cluster 103599
Data as of
Nothing open on GitHub. Fix merged in #121600. Check it covers your case.
The short answer
- Known?
- Yes. 6 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #121600. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #121600. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These issues and pull requests address a gap where the agent's repetition guard was not applied to tool-call arguments, allowing degenerate or looping model output to be executed as commands. The work covers detection, rejection, and related guard resets on human speech.
Open issues0
Open PRs0
Fixes on record
-
#121600 fix(agent): repetition guard catches real loops on every completion path; reject degenerate dropped-stream tool args
files:
agent/chat_completion_helpers.py,agent/repetition_guard.py,agent/turn_final_response.py,agent/turn_truncation.py,tests/agent/test_continuation_repetition_guard.py,tests/agent/test_repeated_dropped_tool_args.py,tests/agent/test_repetition_guard.py
4 PRs closed without merging
From the close comments: done elsewhere 2 · merged via another change 1 · superseded by another PR 1
-
#103612 fix(agent): reject repetitive arguments from dropped tool streams · merged via another change →
9e2444e,#121600,#103599 -
#103615 fix(agent): apply repetition guard to tool-call arguments to abort degenerate commands (#103599) · done elsewhere →
9e2444e,#103599,#121600 -
#103620 fix(agent): apply repetition guard to tool-call arguments (#103599) · done elsewhere →
9e2444e,#103599,#121600 -
#114504 fix(gateway,agent): reset bot-loop guard on human speech; flag repetition-dominated tool args · superseded by another PR →
#121600
Closed issues · 1
- Closed#103599Repetition guard not applied to tool-call arguments (degenerate model output executed as a command)
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.33: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Merged PRs
- #121600
- Closed issues
- 1
- Attempts
- 4 PRs closed without merging
- Fix link checked
- 24 Sep 2026