Skip to content

Keep streaming Scanner visible alongside text until round closes#2

Merged
sysread merged 1 commit intomainfrom
claude/fix-throbber-timing-eu4R1
May 9, 2026
Merged

Keep streaming Scanner visible alongside text until round closes#2
sysread merged 1 commit intomainfrom
claude/fix-throbber-timing-eu4R1

Conversation

@sysread
Copy link
Copy Markdown
Owner

@sysread sysread commented May 9, 2026

A single round can emit text deltas and then switch to tool_call
deltas inside the same assistant message. The previous markup
suppressed the Scanner the moment streamingText went truthy, so the
bubble looked done responding the instant text stopped flowing -
even when the model was still building a tool call on the wire and
nothing had arrived in the message list yet.

Fix is to render the Scanner unconditionally inside the streaming
bubble: below the live Markdown when text is present, on its own
when the buffer is still empty. The continuous "still working" cue
now spans the entire window from send through the final
end-of-stream marker.

A single round can emit text deltas and then switch to tool_call
deltas inside the same assistant message. The previous markup
suppressed the Scanner the moment streamingText went truthy, so the
bubble looked done responding the instant text stopped flowing -
even when the model was still building a tool call on the wire and
nothing had arrived in the message list yet.

Fix is to render the Scanner unconditionally inside the streaming
bubble: below the live Markdown when text is present, on its own
when the buffer is still empty. The continuous "still working" cue
now spans the entire window from send through the final
end-of-stream marker.
@sysread sysread merged commit 6450694 into main May 9, 2026
1 check passed
@sysread sysread deleted the claude/fix-throbber-timing-eu4R1 branch May 9, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants