We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc162ab commit 41f3d50Copy full SHA for 41f3d50
apps/sim/app/chat/components/input/input.tsx
@@ -167,6 +167,7 @@ export const ChatInput: React.FC<{
167
}
168
169
const handleSubmit = () => {
170
+ if (isStreaming) return
171
if (!inputValue.trim() && attachedFiles.length === 0) return
172
onSubmit?.(inputValue.trim(), false, attachedFiles) // false = not voice input
173
setInputValue('')
0 commit comments