Skip to content

Commit fdc1e69

Browse files
committed
fix: show stop button while streaming
1 parent 86d66d5 commit fdc1e69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/multimodal-input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ function PureMultimodalInput({
253253
</div>
254254

255255
<div className="absolute bottom-0 right-0 p-2 w-fit flex flex-row justify-end">
256-
{status === 'submitted' ? (
256+
{(status === 'submitted' || status === 'streaming') ? (
257257
<StopButton stop={stop} setMessages={setMessages} />
258258
) : (
259259
<SendButton

0 commit comments

Comments
 (0)