From eafbaf75d3d8cee5f630f52a986ef0c1a108e171 Mon Sep 17 00:00:00 2001 From: hugocasa Date: Thu, 17 Sep 2026 12:32:47 +0200 Subject: [PATCH] fix: stop a streamed turn's text shifting when a tool call closes it Co-Authored-By: Claude Opus 5 (1M context) --- .../src/lib/components/AgentStreamDisplay.svelte | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/src/lib/components/AgentStreamDisplay.svelte b/frontend/src/lib/components/AgentStreamDisplay.svelte index 768c951698..cf1646a614 100644 --- a/frontend/src/lib/components/AgentStreamDisplay.svelte +++ b/frontend/src/lib/components/AgentStreamDisplay.svelte @@ -73,11 +73,11 @@ }) - -
+ +
{#each stream.entries as entry, index (entry.kind === 'tool' ? entry.callId : index)} {#if entry.kind === 'tool'} {:else} -
+
{/if} {/each} {#if stream.current !== ''} -
+
@@ -104,7 +104,7 @@ {:else if stream.reasoning !== ''} -
+
{/if}