From f65653d25f2667deebb39bc76c93ba743de789ba Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 9 May 2026 02:48:06 +0000 Subject: [PATCH] Keep streaming Scanner visible alongside text until round closes 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. --- src/screens/Chat.svelte | 44 ++++++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 20 deletions(-) diff --git a/src/screens/Chat.svelte b/src/screens/Chat.svelte index 422f41d..7ab5441 100644 --- a/src/screens/Chat.svelte +++ b/src/screens/Chat.svelte @@ -4671,27 +4671,31 @@ stream ends the persisted message rerenders through this same path. --> - {:else} - -
- -
{/if} + +
+ +
{#if rateLimitWaitUntil !== null}