Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

[Fix] trivial fix log creation (#14181)

Wang Qi28d8b1c88325
diff --git a/api/db/services/pipeline_operation_log_service.py b/api/db/services/pipeline_operation_log_service.py
index aa2645321e..344e2381b7 100644
--- a/api/db/services/pipeline_operation_log_service.py
+++ b/api/db/services/pipeline_operation_log_service.py
@@ -105,8 +105,6 @@ class PipelineOperationLogService(CommonService):
logging.warning(f"Document for referred_document_id {referred_document_id} not found")
return None
DocumentService.update_progress_immediately([document.to_dict()])
- if document.progress not in [1, -1]:
- return None
ok, document = DocumentService.get_by_id(referred_document_id)
if not ok: