NousResearch/hermes-agent
build_tool_preview max_len contract for small values
Cluster 9439 · agent. Data as of
Nothing open on GitHub. Fix merged in #109134 on 12 Sep 2026. Check it covers your case.
The short answer
0open issues
0open PRs
5items grouped
- Known?
- Yes. 5 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #109134. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #109134. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These issues and pull requests concern a bug where build_tool_preview() does not correctly respect the max_len parameter when the value is very small (under 4). Multiple fix attempts address capping or handling these edge-case inputs.
Open issues0
Open PRs0
Fixes on record
-
#109134 Tool previews never exceed a tiny max_len of 1-3 (#9439, salvage #48483)
files:
agent/display.py,tests/agent/test_display.py
3 PRs closed without merging
From the close comments: merged via another change 2 · stale or abandoned 1
-
#9464 fix(agent): honor max_len in build_tool_preview for values <= 3 (#9439) · merged via another change →
9d09598,#109134 - #9477 fix(display): handle small max_len values in build_tool_preview() · stale or abandoned
-
#9497 fix(display): cap tool previews for tiny max_len values · merged via another change →
9d09598,#109134
Closed issues · 1
- Closed#9439build_tool_preview() breaks max_len contract for values under 4
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.40: 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
- Subsystem
- agent
- Merged PRs
- #109134
- Closed issues
- 1
- Attempts
- 3 PRs closed without merging
- Fix link checked
- 12 Sep 2026