[PR #13854] fix(tui): stop streaming markdown/code after message completes #14847

Open
opened 2026-02-16 18:19:36 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/13854

State: open
Merged: No


Summary

  • TextPart passes streaming={true} unconditionally — even for completed messages
  • This causes opentui to always skip the last table row (treated as potentially incomplete)
  • Derive streaming state from message.time.completed so finished messages render all rows

Fixes #13855

Note

Full fix requires companion change in opentui (streaming setter must rebuild tables on true→false transition). See https://github.com/anomalyco/opentui/pull/696

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/13854 **State:** open **Merged:** No --- ## Summary - `TextPart` passes `streaming={true}` unconditionally — even for completed messages - This causes opentui to always skip the last table row (treated as potentially incomplete) - Derive streaming state from `message.time.completed` so finished messages render all rows Fixes #13855 ## Note Full fix requires companion change in opentui (streaming setter must rebuild tables on `true→false` transition). See https://github.com/anomalyco/opentui/pull/696
yindo added the pull-request label 2026-02-16 18:19:36 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14847