NousResearch/hermes-agent

Fix agent retry logic for dropped stream tool calls

Cluster 123832. Data as of

Nothing open on GitHub. Fix merged in #124196 on 26 Sep 2026. Check it covers your case.

The short answer

0open issues
0open PRs
4items grouped
Known?
Yes. 4 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #124196. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #124196. That is separate from the fix event.
Still open
Nothing open on GitHub.

These issues and PRs address a bug where a tool call from a dropped or incomplete stream was executed using a repaired (truncated) prefix of its arguments instead of being retried. The fix ensures unfinished stream tool calls are retried rather than run with potentially corrupted partial arguments.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #124196 fix(agent): retry a dropped stream's tool call instead of running its repaired prefix

    merged to main

    files: agent/chat_completion_helpers.py, tests/agent/test_run_agent.py

2 PRs closed without merging

From the close comments: done elsewhere 2

  • #105017 fix(agent): never repair tool-call args from an unfinished stream · done elsewhere → 02f98f2, #124196
  • #123833 fix(agent): retry a dropped stream's tool call instead of running its repaired prefix (salvage #105017) · done elsewhere → 02f98f2, #124196
Closed issues · 1
  • Closed#123832[Bug]: a tool call whose stream drops with no finish_reason runs on a repaired prefix (`timeout: 600` → `6`, a todo list cut short)
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.50: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means 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 Lab

At a glance

Merged PRs
#124196
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
26 Sep 2026

For your agent

The same facts, typed.