Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion web/next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const nextConfig: NextConfig = {
poweredByHeader: false,
experimental: {
serverActions: {
bodySizeLimit: '10mb',
bodySizeLimit: '100mb',
},
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ export const DocumentUpload = () => {
<>
<FileUpload
maxFiles={1000}
maxSize={10 * 1024 * 1024}
maxSize={100 * 1024 * 1024}
className="w-full gap-4"
accept=".pdf,.doc,.docx,.txt,.md,.ppt,.pptx,.xls,.xlsx"
value={documents.map((f) => f.file)}
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/chat/chat-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ export const ChatInput = ({
<div className="flex gap-2">
<FileUpload
maxFiles={10}
maxSize={10 * 1024 * 1024}
maxSize={100 * 1024 * 1024}
accept=".pdf,.doc,.docx,.txt,.md,.ppt,.pptx,.xls,.xlsx"
value={attachments.map((f) => f.file)}
onFileReject={onFileReject}
Expand Down
2 changes: 1 addition & 1 deletion web/src/i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion web/src/i18n/en-US/page_documents.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion web/src/i18n/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "文件名",
Expand Down
2 changes: 1 addition & 1 deletion web/src/i18n/zh-CN/page_documents.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "文件名",
Expand Down