# NousResearch/hermes-agent · transform_llm_output result delivery to streamed bubble

## Open now

- Nothing open on GitHub.

These items concern a bug where the transformed LLM output is not correctly applied to the streamed message bubble on the desktop surface, leaving it showing pre-transform text. The work addresses delivering and settling transform_llm_output results onto the live streamed bubble.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 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.67`: 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

- #96465: Desktop surface drops transform_llm_output rewrites: streamed bubble keeps pre-transform text while state.db holds the corrected text

## 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`
- **#96467: fix(desktop): deliver transform_llm_output result to the streamed message**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `caa8ee61c7`, `55c6fd01ac`, `6cb1aa025c`, `#121628`, `#96465`

## Fix status

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