From bd84de24685fcdd3533447778fb5aba6c5920268 Mon Sep 17 00:00:00 2001 From: chziyue Date: Sat, 21 Mar 2026 02:08:54 +0000 Subject: [PATCH] Fix Stop button not showing during tool execution Simplify the Stop button render condition to just check canAbort. --- ui/src/ui/views/chat.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/ui/views/chat.ts b/ui/src/ui/views/chat.ts index 88a712706f0..a5a87752efd 100644 --- a/ui/src/ui/views/chat.ts +++ b/ui/src/ui/views/chat.ts @@ -1299,7 +1299,7 @@ export function renderChat(props: ChatProps) { ${ - canAbort && (isBusy || props.sending) + canAbort ? html`