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: avoid resetting documents on non-parser updates (#16962)
buua43606f23ddc38a3
diff --git a/api/apps/restful_apis/document_api.py b/api/apps/restful_apis/document_api.pyindex c5aae42899..9aef226b39 100644--- a/api/apps/restful_apis/document_api.py+++ b/api/apps/restful_apis/document_api.py@@ -287,11 +287,6 @@ async def update_document(tenant_id, dataset_id, document_id):elif parser_config_template_group_changed:if error := reset_document_for_reparse(doc, tenant_id, pipeline_id=""):return error- else:- # Direct-parser updates do not carry a pipeline_id. Clear any stale- # pipeline selection and its generated document-store data.- if error := reset_document_for_reparse(doc, tenant_id, pipeline_id=""):- return errorif "enabled" in req: # already checked in UpdateDocumentReq - it's int if present# "enabled" flag provided, the update method will check if it's changed and then update if so