You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(chat): streaming reply never receives isStreaming #431
ChatWindow renders streamState.streamingMessage through MessageView without isStreaming (since #259, fd28309). AssistantMessageView therefore treats the live reply as finished:
its live header, with the token-speed readout (components/MessageView.tsx ~781–799), never renders
the footer actions show while the reply streams
Fix: pass isStreaming={streamState.isStreaming}. A finished reply held until its saved row appears gets false. Test both cases.
Verified against current main (d9e2a44): ChatLiveTail renders the live MessageView (components/ChatWindow-live-tail.tsx:39-50) without isStreaming, so AssistantMessageView receives undefined. Confirmed consequences in components/MessageView.tsx: the live header and token-speed badge are gated by isStreaming (781-810), and the footer actions render whenever it is falsy (881).
The fix also changes other isStreaming-driven behavior, which the test should account for: data-live (763), empty-thinking filtering (674), the thinking-duration timer (715-756), TextBlock/SafeMarkdownBody streaming mode (910, 931), and ToolCallBlock initial expansion and spinner (1083, 1159). The MessageView memo comparator already compares isStreaming and only compares liveTokensPerSecond while streaming (246, 267).
Suggested scope: add an isStreaming prop to ChatLiveTail, have ChatWindow pass streamState.isStreaming, and forward it. Test both an actively streaming reply (header/speed shown, footer hidden) and a finished reply held until its saved row appears (isStreaming false: footer shown, no live header). Code-read only; no browser reproduction yet.
Activity
andrebrait commentedon Nov 8, 2026
Verified against current main (d9e2a44): ChatLiveTail renders the live MessageView (components/ChatWindow-live-tail.tsx:39-50) without isStreaming, so AssistantMessageView receives undefined. Confirmed consequences in components/MessageView.tsx: the live header and token-speed badge are gated by isStreaming (781-810), and the footer actions render whenever it is falsy (881).
The fix also changes other isStreaming-driven behavior, which the test should account for: data-live (763), empty-thinking filtering (674), the thinking-duration timer (715-756), TextBlock/SafeMarkdownBody streaming mode (910, 931), and ToolCallBlock initial expansion and spinner (1083, 1159). The MessageView memo comparator already compares isStreaming and only compares liveTokensPerSecond while streaming (246, 267).
Suggested scope: add an isStreaming prop to ChatLiveTail, have ChatWindow pass streamState.isStreaming, and forward it. Test both an actively streaming reply (header/speed shown, footer hidden) and a finished reply held until its saved row appears (isStreaming false: footer shown, no live header). Code-read only; no browser reproduction yet.
fix(chat): mark the streaming reply as streaming