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
enlarge max file number per user limit (#373)
KevinHuShc344486aa098
diff --git a/api/apps/document_app.py b/api/apps/document_app.pyindex 29e1686083..033712fd24 100644--- a/api/apps/document_app.py+++ b/api/apps/document_app.py@@ -57,7 +57,7 @@ def upload():if not e:return get_data_error_result(retmsg="Can't find this knowledgebase!")- if DocumentService.get_doc_count(kb.tenant_id) >= 128:+ if DocumentService.get_doc_count(kb.tenant_id) >= os.environ.get('MAX_FILE_NUM_PER_USER', 8192):return get_data_error_result(retmsg="Exceed the maximum file number of a free user!")