Fix Stop button not showing during tool execution Simplify the Stop button render condition to just check canAbort.

This commit is contained in:
chziyue 2026-03-21 02:08:54 +00:00
parent c3be293dd5
commit bd84de2468

View File

@ -1299,7 +1299,7 @@ export function renderChat(props: ChatProps) {
</button>
${
canAbort && (isBusy || props.sending)
canAbort
? html`
<button class="chat-send-btn chat-send-btn--stop" @click=${props.onAbort} title="Stop">
${icons.stop}