# NousResearch/hermes-agent · False mid-stream drop detection on complete responses

## Open now

- Nothing open on GitHub.

These issues and fixes address a recurring bug where fully complete streaming responses are incorrectly identified as mid-stream drops. Multiple fixes target the logic responsible for reading completion markers and finish reasons across different stream states and backends.

## TL;DR

- 6 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 2 merged PR(s), 3 PR(s) closed without merging.
- A fix was merged to main in PR #100515. Verify it addresses your case.
- **Recommended:** read PR #100515 (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: `unresolved`. 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.33`: 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

- #94614: \[Bug\]: Hermes intermittently reports a client-side mid-stream drop on responses that are in fact complete.

## Prior & competing PRs

- **#100515: fix(streaming): complete Portal/vLLM streams no longer misread as mid-stream drops (#90848, #91373; salvages #91189, #91376, #96333)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/chat_completion_helpers.py`, `contributors/emails/[redacted:email]`, `hermes_cli/proxy/server.py`, `hermes_cli/proxy/sse_done.py`, `tests/hermes_cli/test_proxy.py`, `tests/hermes_cli/test_sse_done.py`, `tests/run_agent/test_partial_stream_finish_reason.py`
- **#100534: fix(streaming): superseded streams keep their completion marker — no more false drops (#94614, salvage #94625)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/chat_completion_helpers.py`, `tests/run_agent/test_partial_stream_finish_reason.py`
- **#94624: fix(streaming): stop complete responses from being retried as stream drops**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `622883bad7`, `#100534`, `#94625`
- **#94625: fix(agent): accept marker-only finish_reason chunks after stream supersession**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `622883bad7`, `#100534`, `#91189`, `#100515`
- **#99344: fix(agent): harvest finish_reason before the SSE guard can continue past it**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#96333`, `#96333`

## Fix status

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