enh: abililty to stop merge response

This commit is contained in:
Timothy Jaeryang Baek
2025-08-05 22:25:51 +04:00
parent 8b46a9010e
commit d0657054a5
3 changed files with 18 additions and 3 deletions

View File

@@ -82,6 +82,7 @@
export let stopResponse: Function;
export let autoScroll = false;
export let generating = false;
export let atSelectedModel: Model | undefined = undefined;
export let selectedModels: [''];
@@ -1820,7 +1821,7 @@
</Tooltip>
{/if}
{#if (taskIds && taskIds.length > 0) || (history.currentId && history.messages[history.currentId]?.done != true)}
{#if (taskIds && taskIds.length > 0) || (history.currentId && history.messages[history.currentId]?.done != true) || generating}
<div class=" flex items-center">
<Tooltip content={$i18n.t('Stop')}>
<button