RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
fix: inaccurate error message when uploading multiple files containing an unsupported file type (#12711)
lys1313013120648ac81c5
diff --git a/api/apps/document_app.py b/api/apps/document_app.pyindex 257506ec80..1267db9bc9 100644--- a/api/apps/document_app.py+++ b/api/apps/document_app.py@@ -87,6 +87,7 @@ async def upload():err, files = await asyncio.to_thread(FileService.upload_document, kb, file_objs, current_user.id)if err:+ files = [f[0] for f in files] if files else []return get_json_result(data=files, message="\n".join(err), code=RetCode.SERVER_ERROR)if not files: