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: update parser id for change_parser. (#10545)
Kevin Hu5fb3d2f55cf5
diff --git a/api/apps/document_app.py b/api/apps/document_app.pyindex b80d59b099..a252db9ec2 100644--- a/api/apps/document_app.py+++ b/api/apps/document_app.py@@ -568,7 +568,7 @@ def change_parser():def reset_doc():nonlocal doc- e = DocumentService.update_by_id(doc.id, {"parser_id": req["parser_id"], "progress": 0, "progress_msg": "", "run": TaskStatus.UNSTART.value})+ e = DocumentService.update_by_id(doc.id, {"pipeline_id": req["pipeline_id"], "parser_id": req["parser_id"], "progress": 0, "progress_msg": "", "run": TaskStatus.UNSTART.value})if not e:return get_data_error_result(message="Document not found!")if doc.token_num > 0: