diff --git a/src/interface/web/app/components/chatInputArea/chatInputArea.tsx b/src/interface/web/app/components/chatInputArea/chatInputArea.tsx index 49157f56..8b276562 100644 --- a/src/interface/web/app/components/chatInputArea/chatInputArea.tsx +++ b/src/interface/web/app/components/chatInputArea/chatInputArea.tsx @@ -257,9 +257,6 @@ export const ChatInputArea = forwardRef((pr setConvertedAttachedFiles(data); }); - const totalSize = Array.from(files).reduce((acc, file) => acc + file.size, 0); - const totalSizeInMB = totalSize / (1024 * 1024); - // Set focus to the input for user message after uploading files chatInputRef?.current?.focus(); } @@ -612,6 +609,7 @@ export const ChatInputArea = forwardRef((pr >