Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: document error message can not be cleared (#7453)

wellCh4nb7778de224b6
diff --git a/api/core/indexing_runner.py b/api/core/indexing_runner.py
index b20c6ed187f..8173028ed75 100644
--- a/api/core/indexing_runner.py
+++ b/api/core/indexing_runner.py
@@ -700,6 +700,7 @@ class IndexingRunner:
DatasetDocument.tokens: tokens,
DatasetDocument.completed_at: datetime.datetime.now(datetime.timezone.utc).replace(tzinfo=None),
DatasetDocument.indexing_latency: indexing_end_at - indexing_start_at,
+ DatasetDocument.error: None,
}
)