# NousResearch/hermes-agent · Context ceiling lost on live model/provider switches

## Open now

- Nothing open on GitHub.

A bug where changing the model or provider at runtime can silently discard the configured context ceiling, along with related fix attempts that re-read the ceiling on each switch.

## 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 #117631. Verify it addresses your case.
- **Recommended:** read PR #117631 (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

- #116467: \[Bug\] Desktop/CLI model changes can silently discard the effective context ceiling

## Prior & competing PRs

- **#117631: fix(context): live model/provider switches and Desktop config round-trips keep the configured context ceiling (#116467, salvage #116661)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/agent_init.py`, `agent/agent_runtime_helpers.py`, `tests/agent/test_switch_model_reapplies_config_context_pin.py`, `tests/tui_gateway/test_compression_config_hot_reload.py`, `tests/tui_gateway/test_live_config_context_pin_mirror.py`, `tui_gateway/session_compression.py`
- **#116661: fix(context): re-read the configured context ceiling on every live model/provider switch**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `54315c15e2`, `#117631`

## Fix status

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