From 0ed29fcc551fc128976a4e3cecb066f784e6b1c1 Mon Sep 17 00:00:00 2001 From: chziyue Date: Wed, 25 Mar 2026 22:57:34 +0800 Subject: [PATCH] fix(ui): Stop button shows Send during tool execution --- 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 ba93d04bf66..aa8b03eca33 100644 --- a/ui/src/ui/views/chat.ts +++ b/ui/src/ui/views/chat.ts @@ -893,7 +893,7 @@ function renderSlashMenu( export function renderChat(props: ChatProps) { const canCompose = props.connected; - const isBusy = props.sending || props.stream !== null; + const isBusy = props.sending || props.stream !== null || props.canAbort; const canAbort = Boolean(props.canAbort && props.onAbort); const activeSession = props.sessions?.sessions?.find((row) => row.key === props.sessionKey); const reasoningLevel = activeSession?.reasoningLevel ?? "off";