# NousResearch/hermes-agent · Thinking model reasoning field ignored in compression

## Open now

- 1 issue, 1 PR open on GitHub.
- #19003: \[Bug\] Context compressor ignores reasoning field — empty summaries with thinking models (Ollama 0.22+)
- PR #70321: fix(compression): recover the summary from the reasoning field when content is empty

A bug where context compression and summarization ignores the reasoning field in thinking models, producing empty summaries. Multiple fixes and PRs address extracting content from reasoning when the content field is empty.

## TL;DR

- 4 member(s): 1 open issue(s), 0 closed issue(s), 1 open PR(s), 0 merged PR(s), 2 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.50`: 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

- #19003: \[Bug\] Context compressor ignores reasoning field — empty summaries with thinking models (Ollama 0.22+)

## Prior & competing PRs

- **#19007: fix(compression): use extract_content_or_reasoning for thinking models**. closed without merge · fix tier `suggested`
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#23047`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#14847: Use reasoning content for context summaries**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#4603`
- **#70321: fix(compression): recover the summary from the reasoning field when content is empty**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `97b93150a584`, `#19003`, `#4603`, `#19007`, `#70321`, `#23047`, `#374151`
  - files: `agent/context_compressor.py`, `tests/agent/test_context_compressor.py`

## Fix status

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