Skip to content

Commit c60b768

Browse files
authored
Merge pull request #230 from Trynax/feature/cancel-tool-operations
show stop button during streaming
2 parents f47bb91 + 05b563a commit c60b768

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)