From 4db45b57a279eac42ea94ec34424fadf14185764 Mon Sep 17 00:00:00 2001 From: Henry Heng Date: Wed, 4 Dec 2024 19:36:03 +0000 Subject: [PATCH] Update ChatMessage.jsx --- packages/ui/src/views/chatmessage/ChatMessage.jsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/ui/src/views/chatmessage/ChatMessage.jsx b/packages/ui/src/views/chatmessage/ChatMessage.jsx index 63be4704fde..d5a67de7acf 100644 --- a/packages/ui/src/views/chatmessage/ChatMessage.jsx +++ b/packages/ui/src/views/chatmessage/ChatMessage.jsx @@ -700,8 +700,6 @@ export const ChatMessage = ({ open, chatflowid, isAgentCanvas, isDialog, preview const handleFileUploads = async (uploads) => { if (!uploadedFiles.length) return uploads - console.log('uploadedFiles', uploadedFiles) - if (fullFileUpload) { const filesWithFullUploadType = uploadedFiles.filter((file) => file.type === 'file:full') if (filesWithFullUploadType.length > 0) { @@ -796,8 +794,6 @@ export const ChatMessage = ({ open, chatflowid, isAgentCanvas, isDialog, preview return } - console.log('uploads', uploads) - clearPreviews() setMessages((prevMessages) => [...prevMessages, { message: input, type: 'userMessage', fileUploads: uploads }])