# NousResearch/hermes-agent · Preserve partial output when retries exhausted

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #119027: fix(streaming): keep partial answers after exhausted retries

These items address a bug where partial streamed output is discarded rather than retained when retries are exhausted due to 429 rate-limit or network errors. Fixes aim to keep delivered partial content visible and offer continuation.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 1 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #121628. Verify it addresses your case.
- **Recommended:** read PR #121628 (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: `resolved` · deciding PR(s): `pr-121628`. 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.50`: 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

- #119001: Desktop: rate-limit (429) or network errors mid/before stream discard delivered partial output instead of persisting it and offering continuation

## Prior & competing PRs

- **#121628: fix(agent,desktop): keep delivered partials on retry exhaustion; settle transform_llm_output finals onto the streamed bubble**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/turn_api_error.py`, `agent/turn_recovery.py`, `agent/turn_truncation.py`, `apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/message-stream.ts`, `apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/types.ts`, `apps/desktop/src/app/session/hooks/use-message-stream/index.ts`, `apps/desktop/src/app/session/hooks/use-message-stream/transformed-final.test.tsx`, `apps/desktop/src/lib/chat-messages/types.ts`, `apps/shared/src/gateway-contract.generated.ts`, `apps/shared/src/gateway-contract.openrpc.json`, `contributors/emails/4663659+orcunulutas@users.noreply.github.com`, `tests/agent/test_retry_exhaustion_partial_retention.py`, `tests/tui_gateway/test_turn_payload_response_transformed.py`, `tui_gateway/contracts/events.py`, `tui_gateway/prompt_turn.py`
- **#119027: fix(streaming): keep partial answers after exhausted retries**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `agent/turn_api_error.py`, `agent/turn_recovery.py`, `agent/turn_truncation.py`, `tests/agent/test_failed_turn_chat_copy.py`, `tests/tui_gateway/test_bot_mode_silence_delivery.py`, `tui_gateway/prompt_turn.py`
- **#119081: fix(agent): retain delivered partial output on retry-exhausted 429/network errors**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `6cb1aa025c`, `#121628`, `#119001`

## Fix status

- Merged to main in PR #121628 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-24`.
- Subsystem: `agent`
