Timothy Jaeryang Baek 3 weeks ago
parent
commit
8d62cc1935
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/components/chat/MessageInput.svelte

+ 1 - 1
src/lib/components/chat/MessageInput.svelte

@@ -1238,7 +1238,7 @@
 											</Tooltip>
 										{/if}
 
-										{#if taskIds && taskIds.length > 0}
+										{#if (taskIds && taskIds.length > 0) || (history.currentId && history.messages[history.currentId]?.done != true)}
 											<div class=" flex items-center">
 												<Tooltip content={$i18n.t('Stop')}>
 													<button