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: 'next' button unresponsive when uploading additional documents before previous batch completes (#2991)
Ricky714722bb2d09
diff --git a/web/app/components/datasets/create/file-uploader/index.tsx b/web/app/components/datasets/create/file-uploader/index.tsxindex 43cab0e9497..9264954d875 100644--- a/web/app/components/datasets/create/file-uploader/index.tsx+++ b/web/app/components/datasets/create/file-uploader/index.tsx@@ -130,7 +130,6 @@ const FileUploader = ({}}- const fileListCopy = fileListRef.currentreturn upload({xhr: new XMLHttpRequest(),data: formData,@@ -142,14 +141,14 @@ const FileUploader = ({file: res,progress: -1,}- const index = fileListCopy.findIndex(item => item.fileID === fileItem.fileID)- fileListCopy[index] = completeFile- onFileUpdate(completeFile, 100, fileListCopy)+ const index = fileListRef.current.findIndex(item => item.fileID === fileItem.fileID)+ fileListRef.current[index] = completeFile+ onFileUpdate(completeFile, 100, fileListRef.current)return Promise.resolve({ ...completeFile })}).catch((e) => {notify({ type: 'error', message: e?.response?.code === 'forbidden' ? e?.response?.message : t('datasetCreation.stepOne.uploader.failed') })- onFileUpdate(fileItem, -2, fileListCopy)+ onFileUpdate(fileItem, -2, fileListRef.current)return Promise.resolve({ ...fileItem })}).finally()