NousResearch/hermes-agent

Aborting streams fails to close provider connections

Cluster 98974. Data as of

Nothing open on GitHub. Fix merged in #115801 on 19 Sep 2026. Check it covers your case.

The short answer

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

These issues and fixes address a bug where stopping or cancelling a streaming run does not properly terminate the in-flight connection to the provider, leaving self-hosted endpoints continuing to generate. The work covers both the initial abort and re-aborting when a stream is created after cancellation.

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.

  • #115801 fix(streaming): stopping a run now cuts the in-flight provider stream on self-hosted endpoints (#98974, salvage #98989)

    merged to main

    files: agent/chat_completion_helpers.py, tests/agent/test_stream_interrupt_abort_socket.py

1 PR closed without merging

From the close comments: merged via another change 1

  • #98989 fix(streaming): re-abort a cancelled attempt when its stream is created · merged via another change → 0bd0118, #115801, #98974, #98989
Closed issues · 1
  • Closed#98974[Bug] Interrupt abort does not close the transport: "no sockets found", tcp_force_closed=0 — self-hosted serve keeps generating after the user stopped
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.67: 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

Merged PRs
#115801
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
19 Sep 2026

For your agent

The same facts, typed.