# NousResearch/hermes-agent · Whitespace lost in ACP streaming message content

## Open now

- Nothing open on GitHub.

Multiple bugs and fixes related to leading or surrounding whitespace being stripped from LLM response chunks when rendered or streamed through the ACP/api_server path, causing words to appear joined without spaces.

## TL;DR

- 5 member(s): 0 open issue(s), 2 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 #2192. Verify it addresses your case.
- **Recommended:** read PR #2192 (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-2192`. 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.34`: 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

- #2049: \[Bug\]:  LLM responses are returned without spaces between words (GitHub Copilot ACP)
- #24592: \[Bug\]: LLM responses returned without spaces between words via api_server path (related to #2049, not covered by 1173adbe8)

## Prior & competing PRs

- **#2192: fix(acp): preserve leading whitespace in streaming chunks**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/copilot_acp_client.py`
- **#2145: fix(acp): preserve leading whitespace in streaming chunks**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#2192`
- **#24920: fix(acp): preserve leading/trailing whitespace in message content rendering (#24592)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `1173adbe8`, `#24592`, `#24592`, `#2049`, `#24592`

## Fix status

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