From 41f3d506da2945c867897d28f6f07b5ce0f2d48b Mon Sep 17 00:00:00 2001 From: Siddharth Ganesan <33737564+Sg312@users.noreply.github.com> Date: Tue, 11 Nov 2025 10:36:14 -0800 Subject: [PATCH] fix(deployed-chat): prevent multiple simultaneous messages (#1893) --- apps/sim/app/chat/components/input/input.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/sim/app/chat/components/input/input.tsx b/apps/sim/app/chat/components/input/input.tsx index 6a3b24d84b..132a573ed2 100644 --- a/apps/sim/app/chat/components/input/input.tsx +++ b/apps/sim/app/chat/components/input/input.tsx @@ -167,6 +167,7 @@ export const ChatInput: React.FC<{ } const handleSubmit = () => { + if (isStreaming) return if (!inputValue.trim() && attachedFiles.length === 0) return onSubmit?.(inputValue.trim(), false, attachedFiles) // false = not voice input setInputValue('')