Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: can not find file (#23472)
crazywoola8aac402b2457
diff --git a/web/app/components/base/file-uploader/hooks.ts b/web/app/components/base/file-uploader/hooks.tsindex 8e1b2148c5d..d3c79a9f45f 100644--- a/web/app/components/base/file-uploader/hooks.ts+++ b/web/app/components/base/file-uploader/hooks.ts@@ -68,6 +68,7 @@ export const useFile = (fileConfig: FileUpload) => {}return true}+ case SupportUploadFileTypes.custom:case SupportUploadFileTypes.document: {if (fileSize > docSizeLimit) {notify({@@ -107,19 +108,6 @@ export const useFile = (fileConfig: FileUpload) => {}return true}- case SupportUploadFileTypes.custom: {- if (fileSize > docSizeLimit) {- notify({- type: 'error',- message: t('common.fileUploader.uploadFromComputerLimit', {- type: SupportUploadFileTypes.document,- size: formatFileSize(docSizeLimit),- }),- })- return false- }- return true- }default: {return true}@@ -231,7 +219,7 @@ export const useFile = (fileConfig: FileUpload) => {url: res.url,}if (!isAllowedFileExtension(res.name, res.mime_type, fileConfig.allowed_file_types || [], fileConfig.allowed_file_extensions || [])) {- notify({ type: 'error', message: `${t('common.fileUploader.fileExtensionNotSupport')} ${file.type}` })+ notify({ type: 'error', message: `${t('common.fileUploader.fileExtensionNotSupport')} ${newFile.type}` })handleRemoveFile(uploadingFile.id)}if (!checkSizeLimit(newFile.supportFileType, newFile.size))