Timothy J. Baek hai 8 meses
pai
achega
94502d6494
Modificáronse 1 ficheiros con 8 adicións e 2 borrados
  1. 8 2
      src/lib/components/chat/Messages/ResponseMessage.svelte

+ 8 - 2
src/lib/components/chat/Messages/ResponseMessage.svelte

@@ -356,7 +356,11 @@
 								{#if status?.action === 'web_search' && status?.urls}
 									<WebSearchResults {status}>
 										<div class="flex flex-col justify-center -space-y-0.5">
-											<div class="shimmer text-base line-clamp-1 text-wrap">
+											<div
+												class="{status?.done === false
+													? 'shimmer'
+													: ''} text-base line-clamp-1 text-wrap"
+											>
 												{status?.description}
 											</div>
 										</div>
@@ -364,7 +368,9 @@
 								{:else}
 									<div class="flex flex-col justify-center -space-y-0.5">
 										<div
-											class="shimmer text-gray-500 dark:text-gray-500 text-base line-clamp-1 text-wrap"
+											class="{status?.done === false
+												? 'shimmer'
+												: ''} text-gray-500 dark:text-gray-500 text-base line-clamp-1 text-wrap"
 										>
 											{status?.description}
 										</div>