Spaces:
Running
Running
fix(tools): make sure component rerenders when switching conversations
Browse files
src/lib/components/chat/ChatMessage.svelte
CHANGED
@@ -289,7 +289,9 @@
|
|
289 |
{#if toolUpdates}
|
290 |
{#each Object.values(toolUpdates) as tool}
|
291 |
{#if tool.length}
|
292 |
-
|
|
|
|
|
293 |
{/if}
|
294 |
{/each}
|
295 |
{/if}
|
|
|
289 |
{#if toolUpdates}
|
290 |
{#each Object.values(toolUpdates) as tool}
|
291 |
{#if tool.length}
|
292 |
+
{#key tool[0].uuid}
|
293 |
+
<ToolUpdate {tool} {loading} />
|
294 |
+
{/key}
|
295 |
{/if}
|
296 |
{/each}
|
297 |
{/if}
|