Cap background review input tokens for local models
Cluster 114645. Data as of
Nothing open on GitHub. Fix merged in #114870 on 19 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 4 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #114870. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #114870. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These issues and fixes address the background review feature defaulting to a max_input_tokens value far exceeding typical local model context windows. The changes derive or cap the default input budget based on the review model's actual context window size.
Open issues0
Open PRs0
Fixes on record
-
#114870 fix(review, agent): background-review budget fits local models; server context rejection no longer blamed on the conversation (#114645, #114644, salvage #114651)
files:
agent/background_review.py,agent/turn_failure_copy.py,agent/turn_overflow.py,contributors/emails/[redacted:email],hermes_cli/config_defaults.py,tests/agent/test_background_review_input_budget.py,tests/agent/test_failed_turn_site_codes.py,website/docs/reference/faq.md,website/docs/user-guide/features/memory.md
2 PRs closed without merging
From the close comments: merged via another change 1 · superseded by another PR 1
-
#114651 fix(review): cap default background input budget · merged via another change →
1baae31,#114870,#114645,#114644,#114651 -
#114669 fix(review): derive default background input budget from the review model's context window · superseded by another PR →
1baae31,#114870,#114645,#114644,#114651
Closed issues · 1
- Closed#114645[Bug]: background_review max_input_tokens defaults to 600000, ~9x a typical local model's context (follow-up to #93057)
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.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
- #114870
- Closed issues
- 1
- Attempts
- 2 PRs closed without merging
- Fix link checked
- 19 Sep 2026