Whitespace lost in ACP streaming message content

NousResearch/hermes-agent · cluster 2049 · acp

Data as of

Nothing open on GitHub. Fix merged in #2192. Check it covers your case.

The short answer

0open issues
0open PRs
5items grouped
Known?
Yes. 5 related items grouped here, 2 issues already closed.
Fix event
A fix was merged to main in PR #2192. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this partially resolved, deciding PR #2192. That is separate from the fix event.
Still open
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.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #2192 fix(acp): preserve leading whitespace in streaming chunks

    merged to main

    files: agent/copilot_acp_client.py

2 PRs closed without merging

From the close comments: done elsewhere 1 · merged via another change 1

  • #2145 fix(acp): preserve leading whitespace in streaming chunks · merged via another change → #2192
  • #24920 fix(acp): preserve leading/trailing whitespace in message content rendering (#24592) · done elsewhere → 1173adb, #24592, #2049
Closed issues · 2
  • Closed#2049[Bug]: LLM responses are returned without spaces between words (GitHub Copilot ACP)
  • Closed#24592[Bug]: LLM responses returned without spaces between words via api_server path (related to #2049, not covered by 1173adbe8)
How this cluster was grouped
  • Link evidence (partly structural links): 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 item 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.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
acp
Merged PRs
#2192
Closed issues
2
Attempts
2 PRs closed without merging
Fix link checked
20 Mar 2026. This confirmation is old and may be out of date (a revert or reopen would not have invalidated it here); re-verify.

For your agent

The same facts, typed.