Gateway streaming linebreak at tool call boundaries

NousResearch/hermes-agent · cluster 2177 · agent

Data as of

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

The short answer

0open issues
0open PRs
8items grouped
Known?
Yes. 8 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #2413. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #2413. That is separate from the fix event.
Still open
Nothing open on GitHub.

Multiple fixes and a bug report addressing missing newline/linebreak separators in gateway streaming output when text resumes after tool calls, causing concatenated or stacked blank lines.

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.

  • #2413 fix: add iteration boundary linebreak to prevent stream concatenation

    merged to main

    files: run_agent.py

  • #2473 fix: defer streaming iteration linebreak to prevent blank line stacking

    merged to main

    files: run_agent.py

5 PRs closed without merging

From the close comments: merged via another change 2 · duplicate 1 · other 2

  • #2186 fix: add linebreak in gateway stream after tool calls (#2177) · duplicate
  • #2187 Fix: Add iteration boundary linebreak to prevent stream concatenation… · merged via another change → #2413
  • #2259 fix(gateway): insert linebreak when streaming resumes after tool calls · other
  • #2376 fix(gateway): inject newline separator at stream iteration boundaries · other → #2473, #2433
  • #2433 fix: defer streaming iteration linebreak to prevent blank line stacking · merged via another change → #2473
Closed issues · 1
  • Closed#2177[Bug]: Gateway streaming concatenates resumed text after tool calls without linebreak
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.25: 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
agent
Merged PRs
#2413, #2473
Closed issues
1
Attempts
5 PRs closed without merging
Fix link checked
22 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.