mirror of https://github.com/openclaw/openclaw.git
fix(ui): Stop button shows Send during tool execution
This commit is contained in:
parent
54cd0859d3
commit
0ed29fcc55
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in New Issue