# NousResearch/hermes-agent · Fix list-shaped reasoning_content breaking streaming chat

## Open now

- Nothing open on GitHub.

These issues and fixes address a crash where list-shaped reasoning_content caused an AttributeError during streaming, because the code incorrectly called .startswith() on a list. The fixes flatten the reasoning_content before the boundary check.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #104994. Verify it addresses your case.
- **Recommended:** read PR #104994 (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: `resolved` · deciding PR(s): `pr-104994`. 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.

## Closed / duplicate issues

- #104711: Streaming crash: list-shaped reasoning_content raises 'list' object has no attribute 'startswith'

## Prior & competing PRs

- **#104994: fix: structured reasoning no longer breaks chat consumers (#104711)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/agent_runtime_helpers.py`, `agent/auxiliary_client.py`, `agent/reasoning_summaries.py`, `contributors/emails/[redacted:email]`, `contributors/emails/[redacted:email]`, `evals/providers/reasoning_shapes.py`, `tests/agent/test_reasoning_shape_boundaries.py`, `website/docs/developer-guide/provider-runtime.md`
- **#104717: fix(agent): flatten list-shaped reasoning_content before boundary check (#104711)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `37fb7adfd6`, `#104711`, `#104994`, `#85791`, `#104848`
- **#104848: fix(agent): flatten list-shaped reasoning_content before startswith**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `37fb7adfd6`, `#104711`, `#104994`, `#85791`, `#104717`

## Fix status

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