# NousResearch/hermes-agent · Per-model context_length override not reaching compressor

## Open now

- Nothing open on GitHub.

A bug where custom provider per-model context_length settings were ignored by the compressor's lazy path, causing it to use catalog window sizes instead. The cluster covers the bug report and associated fix attempts.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #105352. Verify it addresses your case.
- **Recommended:** read PR #105352 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## 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.

## Closed / duplicate issues

- #102644: Compressor lazy path ignores providers.<name>.models.<id>.context_length (/usage shows catalog window)

## Prior & competing PRs

- **#105352: fix(compressor): per-model \`context_length\` overrides in custom_providers reach the compressor (salvage #83324)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/agent_init.py`, `agent/context_compressor.py`, `tests/agent/test_context_compressor_custom_providers.py`
- **#102645: fix(agent): honor per-model custom-provider context_length in compressor lazy path**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `ed063034ad`, `#105352`, `#83324`

## Fix status

- Merged to main in PR #105352 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-07`.
