diff --git a/web/next.config.ts b/web/next.config.ts index 3146500ae..783944006 100644 --- a/web/next.config.ts +++ b/web/next.config.ts @@ -33,7 +33,7 @@ const nextConfig: NextConfig = { poweredByHeader: false, experimental: { serverActions: { - bodySizeLimit: '10mb', + bodySizeLimit: '100mb', }, }, diff --git a/web/src/app/workspace/collections/[collectionId]/documents/upload/document-upload.tsx b/web/src/app/workspace/collections/[collectionId]/documents/upload/document-upload.tsx index 1d04a477b..fc3549618 100644 --- a/web/src/app/workspace/collections/[collectionId]/documents/upload/document-upload.tsx +++ b/web/src/app/workspace/collections/[collectionId]/documents/upload/document-upload.tsx @@ -398,7 +398,7 @@ export const DocumentUpload = () => { <> f.file)} diff --git a/web/src/components/chat/chat-input.tsx b/web/src/components/chat/chat-input.tsx index 6e5d808c3..dc94e2433 100644 --- a/web/src/components/chat/chat-input.tsx +++ b/web/src/components/chat/chat-input.tsx @@ -483,7 +483,7 @@ export const ChatInput = ({
f.file)} onFileReject={onFileReject} diff --git a/web/src/i18n/en-US.json b/web/src/i18n/en-US.json index aba35106a..8f59815c0 100644 --- a/web/src/i18n/en-US.json +++ b/web/src/i18n/en-US.json @@ -299,7 +299,7 @@ "browse_files": "Browse Files", "save_to_collection": "Save to colelction", "drag_drop_files_here": "Drag & drop files here", - "or_click_to_browse_files": "Or click to browse (max 10MB for each file)", + "or_click_to_browse_files": "Or click to browse (max 100MB for each file)", "last_updated": "Last Updated", "file": "File", "filename": "Filename", diff --git a/web/src/i18n/en-US/page_documents.json b/web/src/i18n/en-US/page_documents.json index 2a82042bd..4879b12db 100644 --- a/web/src/i18n/en-US/page_documents.json +++ b/web/src/i18n/en-US/page_documents.json @@ -17,7 +17,7 @@ "browse_files": "Browse Files", "save_to_collection": "Save to colelction", "drag_drop_files_here": "Drag & drop files here", - "or_click_to_browse_files": "Or click to browse (max 10MB for each file)", + "or_click_to_browse_files": "Or click to browse (max 100MB for each file)", "last_updated": "Last Updated", "file": "File", "filename": "Filename", diff --git a/web/src/i18n/zh-CN.json b/web/src/i18n/zh-CN.json index ec6185f64..cdce3f341 100644 --- a/web/src/i18n/zh-CN.json +++ b/web/src/i18n/zh-CN.json @@ -299,7 +299,7 @@ "browse_files": "选择文件", "save_to_collection": "添加到知识库", "drag_drop_files_here": "拖拽文件至此处", - "or_click_to_browse_files": "或点击浏览(单个文件最大10MB)", + "or_click_to_browse_files": "或点击浏览(单个文件最大100MB)", "last_updated": "最近更新", "file": "文件", "filename": "文件名", diff --git a/web/src/i18n/zh-CN/page_documents.json b/web/src/i18n/zh-CN/page_documents.json index 6f011d3da..cc1dfb2d0 100644 --- a/web/src/i18n/zh-CN/page_documents.json +++ b/web/src/i18n/zh-CN/page_documents.json @@ -17,7 +17,7 @@ "browse_files": "选择文件", "save_to_collection": "添加到知识库", "drag_drop_files_here": "拖拽文件至此处", - "or_click_to_browse_files": "或点击浏览(单个文件最大10MB)", + "or_click_to_browse_files": "或点击浏览(单个文件最大100MB)", "last_updated": "最近更新", "file": "文件", "filename": "文件名",