Skip to content

Commit 05b563a

Browse files
committed
show stop button during streaming
1 parent f47bb91 commit 05b563a

File tree

1 file changed

+1
-1
lines changed
  • src/app/(general)/_components/chat/input

1 file changed

+1
-1
lines changed

src/app/(general)/_components/chat/input/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ const PureMultimodalInput: React.FC<Props> = ({
465465
</div>
466466

467467
<div className="flex items-center">
468-
{status === "submitted" ? (
468+
{status === "submitted" || status === "streaming" ? (
469469
<StopButton stop={stop} setMessages={setMessages} />
470470
) : (
471471
<SendButton

0 commit comments

Comments
 (0)