diff --git a/frontend/src/lib/components/copilot/chat/AIChatDisplay.svelte b/frontend/src/lib/components/copilot/chat/AIChatDisplay.svelte index e86ce913c7..3e7b4c6f1c 100644 --- a/frontend/src/lib/components/copilot/chat/AIChatDisplay.svelte +++ b/frontend/src/lib/components/copilot/chat/AIChatDisplay.svelte @@ -422,13 +422,13 @@ {#if showTypingIndicator}
{#if waitingForUserAction} diff --git a/frontend/src/lib/components/copilot/chat/AIChatMessage.svelte b/frontend/src/lib/components/copilot/chat/AIChatMessage.svelte index 0658049914..30b08d0567 100644 --- a/frontend/src/lib/components/copilot/chat/AIChatMessage.svelte +++ b/frontend/src/lib/components/copilot/chat/AIChatMessage.svelte @@ -41,6 +41,7 @@
0 && 'mt-4 mb-6', isLast && '!mb-12', message.role !== 'user' ? 'cursor-default' : 'cursor-pointer' @@ -74,7 +75,7 @@ />
{:else} -
+
{#if message.role === 'assistant'}
{:else if message.role === 'tool'} diff --git a/frontend/src/lib/components/copilot/chat/ToolContentDisplay.svelte b/frontend/src/lib/components/copilot/chat/ToolContentDisplay.svelte index a2ff24847d..c4b2d0cc21 100644 --- a/frontend/src/lib/components/copilot/chat/ToolContentDisplay.svelte +++ b/frontend/src/lib/components/copilot/chat/ToolContentDisplay.svelte @@ -104,14 +104,14 @@ {#if showWhileLoading || (!loading && hasContent) || streaming} -
+
- + {title}: {#if showCopy && hasContent && !streaming}
{#if loading && !streaming && !hasContent} -
+
Executing...
{:else if error} -
+
{error}
{:else if hasContent} -
+
{formatJson($state.snapshot(content))}
{#if showFade && canScrollDown}
{/if}
{:else} -
- No {title.toLowerCase()} yet -
+ No {title.toLowerCase()} yet {/if}
{/if} diff --git a/frontend/src/lib/components/copilot/chat/ToolExecutionDisplay.svelte b/frontend/src/lib/components/copilot/chat/ToolExecutionDisplay.svelte index b6d01c6b38..f0865cfde1 100644 --- a/frontend/src/lib/components/copilot/chat/ToolExecutionDisplay.svelte +++ b/frontend/src/lib/components/copilot/chat/ToolExecutionDisplay.svelte @@ -1,11 +1,12 @@