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:custom file extension not support (#10759)
呆萌闷油瓶c170862de7d9
diff --git a/web/app/components/base/file-uploader/utils.ts b/web/app/components/base/file-uploader/utils.tsindex eb9199d74be..9c71724fb26 100644--- a/web/app/components/base/file-uploader/utils.ts+++ b/web/app/components/base/file-uploader/utils.ts@@ -44,12 +44,6 @@ export const fileUpload: FileUpload = ({}export const getFileExtension = (fileName: string, fileMimetype: string, isRemote?: boolean) => {- if (fileMimetype)- return mime.getExtension(fileMimetype) || ''-- if (isRemote)- return ''-if (fileName) {const fileNamePair = fileName.split('.')const fileNamePairLength = fileNamePair.length@@ -58,6 +52,12 @@ export const getFileExtension = (fileName: string, fileMimetype: string, isRemotreturn fileNamePair[fileNamePairLength - 1]}+ if (fileMimetype)+ return mime.getExtension(fileMimetype) || ''++ if (isRemote)+ return ''+return ''}