Skip to content

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

Fix: pass the kb id to the wiki page insert-error warning (#18985)

Muhammad Zuhaib Zahid70328773805b
diff --git a/rag/svr/task_executor_refactor/dataset_wiki_generator.py b/rag/svr/task_executor_refactor/dataset_wiki_generator.py
index 50daf045fa..f96632b147 100644
--- a/rag/svr/task_executor_refactor/dataset_wiki_generator.py
+++ b/rag/svr/task_executor_refactor/dataset_wiki_generator.py
@@ -984,6 +984,7 @@ async def persist_wiki_pages(
logging.warning(
"wiki_persist: page insert returned %d error(s) for kb=%s",
len(insert_errors),
+ kb_id_str,
)
# Verify the rows that are actually visible after the bulk operation. Some