Fix Stop button not showing during tool execution Simplify the Stop button render condition to just check canAbort.
This commit is contained in:
parent
c3be293dd5
commit
bd84de2468
@ -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}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user