# NousResearch/hermes-agent · Duplicate assistant message rendering bug and fixes

## Open now

- 1 issue, 2 PRs open on GitHub.
- #63213: Intermittent duplicate assistant response emitted within the same session reply
- PR #59634: fix(tui): avoid duplicate assistant reply on session resume
- PR #59673: fix(tui): prevent assistant message from rendering twice (#59423)

These members concern an intermittent bug where the assistant's reply is displayed or persisted twice in the same session, along with related fixes targeting the TUI rendering layer and agent response finalization.

## TL;DR

- 5 member(s): 1 open issue(s), 1 closed issue(s), 2 open PR(s), 1 merged PR(s), 0 PR(s) closed without merging.
- A fix was merged to main in PR #70232. Verify it addresses your case.
- **Recommended:** read PR #70232 (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: `partially_resolved` · deciding PR(s): `pr-70232`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.34`: 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.

## Open related issues

- #63213: Intermittent duplicate assistant response emitted within the same session reply

## Closed / duplicate issues

- #59423: TUI: assistant message renders twice

## Prior & competing PRs

- **#70232: fix(desktop): stop assistant reply rendering twice after a tool-call turn (#63679)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/src/app/session/hooks/use-message-stream/index.ts`, `apps/desktop/src/app/session/hooks/use-message-stream/interim-sealing.test.tsx`
- **#59634: fix(tui): avoid duplicate assistant reply on session resume**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `tests/test_tui_gateway_server.py`, `tui_gateway/server.py`
- **#59673: fix(tui): prevent assistant message from rendering twice (#59423)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `ui-tui/src/__tests__/assistantNoDoubleRender.test.ts`, `ui-tui/src/app/createGatewayEventHandler.ts`, `ui-tui/src/app/turnController.ts`

## Fix status

- Merged to main in PR #70232 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-07-23`.
- Subsystem: `apps/desktop`
