# NousResearch/hermes-agent · Context compression threshold too high for smaller-context models

## Open now

- 1 issue, 1 PR open on GitHub.
- #66177: \[Bug\]: Compression effective threshold (~150K) too high for ≤160K-ctx models — never fires, causing cascading 429 on 100K TPM providers
- PR #66249: fix(compression): respect user-configured threshold below 0.50 on small-ctx models

These items concern the compression trigger threshold on models with smaller context windows. One is a bug report that the effective threshold (~150K) may be too high to fire on ≤160K-context models. The other two are fix proposals about clamping the threshold below context length and honoring user-configured values under 0.50.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 1 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member 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.

## Open related issues

- #66177: \[Bug\]: Compression effective threshold (~150K) too high for ≤160K-ctx models — never fires, causing cascading 429 on 100K TPM providers

## Prior & competing PRs

- **#15431: fix(agent): clamp compression threshold below context_length to ensure compression can trigger (#14690)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#49998`
- **#66249: fix(compression): respect user-configured threshold below 0.50 on small-ctx models**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `61bbc3933091dc418d683aed2928063e88be694e`
  - files: `agent/context_compressor.py`, `agent/transports/codex.py`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
