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(document_service): prevent NoneType error on progress_msg.strip() (#16289)
ちー5928b8b9ae3d
diff --git a/api/db/services/document_service.py b/api/db/services/document_service.pyindex 12fdc19fef..d5bff3e200 100644--- a/api/db/services/document_service.py+++ b/api/db/services/document_service.py@@ -945,7 +945,7 @@ class DocumentService(CommonService):if t.progress == -1:bad += 1prg += t.progress if t.progress >= 0 else 0- if t.progress_msg.strip():+ if (t.progress_msg or "").strip():msg.append(t.progress_msg)priority = max(priority, t.priority)prg /= len(tsks)