# NousResearch/hermes-agent · Handling None message content in agent codebase

## Open now

- Nothing open on GitHub.

These issues and pull requests address a bug where message content fields can be None (particularly for tool-call assistant messages), causing crashes such as TypeErrors in the context compressor and potentially other areas of the codebase.

## TL;DR

- 6 member(s): 0 open issue(s), 2 closed issue(s), 0 open PR(s), 1 merged PR(s), 3 PR(s) closed without merging.
- A fix was merged to main in PR #277. Verify it addresses your case.
- **Recommended:** read PR #277 (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: `partially_resolved` · deciding PR(s): `pr-277`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.29`: 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

- #211: Context compressor crashes with TypeError when message content is None
- #276: msg.get("content", "") returns None for tool-call assistant messages across codebase

## Prior & competing PRs

- **#216: fix(agent): handle None content in context compressor **. closed without merge · fix tier `suggested`
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `25c65bc99eea1ead4b0c25bdadd0d0bee6f6ddc3`, `#215`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#277: fix: handle None message content across codebase**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/auxiliary_client.py`, `cli.py`, `honcho_integration/session.py`, `run_agent.py`
- **#278: fix: guard msg.get("content") against None across codebase**. closed without merge · fix tier `suggested`
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#277`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#215: fix(agent): handle None content in context compressor (fixes #211)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`

## Fix status

- Merged to main in PR #277 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-03-02`. This confirmation is old and may be out of date (a revert/reopen would not have invalidated it here); re-verify.
