Exclude reasoning/completion tokens from compression trigger
NousResearch/hermes-agent · cluster 12026
Data as of
Nothing open on GitHub. Fix merged in #13006. 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 #13006. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #13006. That is separate from the fix event. - Still open
- Nothing open on GitHub.
A bug was identified where compression triggers incorrectly included reasoning and completion tokens, causing premature session splits for thinking models. Multiple fixes were proposed to correct token accounting in the compression threshold logic.
Open issues0
Open PRs0
Fixes on record
-
#13006 fix(compression): exclude completion tokens from compression trigger (#12026)
files:
run_agent.py,scripts/release.py,tests/run_agent/test_compression_trigger_excludes_reasoning.py
4 PRs closed without merging
From the close comments: superseded by another PR 2 · PR volume cleanup 1 · merged via another change 1
-
#12028 fix: token accounting fallback + compression trigger for reasoning models · superseded by another PR →
#13006,#12023 - #12055 fix: exclude completion_tokens from compression trigger for thinking models (#12026) · PR volume cleanup
-
#12481 fix: exclude reasoning tokens from compression trigger threshold · merged via another change →
#13006 -
#12783 fix(compression): exclude completion_tokens from compression trigger to prevent premature splits · superseded by another PR →
#13006
Closed issues · 1
- Closed#12026[Bug]: Compression trigger includes reasoning tokens, causing premature session splits for thinking models (GLM-5.1, QwQ, etc.)
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
- #13006
- Closed issues
- 1
- Attempts
- 4 PRs closed without merging
- Fix link checked
- 20 Apr 2026. This confirmation is old and may be out of date (a revert or reopen would not have invalidated it here); re-verify.