NousResearch/hermes-agent

Agent truncation retry loop fixes and logging

Cluster 105771 · agent. Data as of

1 open item. Fix merged in #121543 on 24 Sep 2026. Check it covers your case.

The short answer

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

These items address bugs in the agent's truncated tool-call retry loop, specifically that the max_tokens budget boost was incorrectly capped and that the give-up path was not being recorded in agent.log.

Open issues1

  • Issue#105771Truncated tool-call retry loop: max_tokens boost is capped at the requested cap (retries are no-ops), and the give-up path is invisible in agent.log

Open PRs0

No open pull requests.

Fixes on record

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

  • #121543 fix(agent): truncation retries grow the output budget (clamped to model limit); tools-available continuation; refund fallback call

    merged to main

    files: agent/context_compressor.py, agent/conversation_loop.py, agent/turn_context_compaction.py, agent/turn_empty_response.py, agent/turn_final_response.py, agent/turn_iteration_prep.py, agent/turn_truncation.py, tests/agent/test_empty_response_fallback_refund.py, tests/agent/test_partial_stream_continuation_prompt.py, tests/agent/test_run_agent.py, tests/agent/test_truncated_tool_call_boost.py

1 PR closed without merging

From the close comments: superseded by another PR 1

  • #105789 fix(agent): log the truncated tool-call give-up path to agent.log · superseded by another PR → 3ac22a3, #121543, #72770
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.67: 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

Subsystem
agent
Merged PRs
#121543
Closed issues
0
Attempts
1 PR closed without merging
Fix link checked
24 Sep 2026

For your agent

The same facts, typed.