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.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
[fix] fix the bug that modify document name not effective (#10154)
Cling_o3ab127ba92e29
diff --git a/api/services/dataset_service.py b/api/services/dataset_service.pyindex ac05cbc4f54..50da547fd84 100644--- a/api/services/dataset_service.py+++ b/api/services/dataset_service.py@@ -986,9 +986,6 @@ class DocumentService:raise NotFound("Document not found")if document.display_status != "available":raise ValueError("Document is not available")- # update document name- if document_data.get("name"):- document.name = document_data["name"]# save process ruleif document_data.get("process_rule"):process_rule = document_data["process_rule"]@@ -1065,6 +1062,10 @@ class DocumentService:document.data_source_type = document_data["data_source"]["type"]document.data_source_info = json.dumps(data_source_info)document.name = file_name++ # update document name+ if document_data.get("name"):+ document.name = document_data["name"]# update document to be waitingdocument.indexing_status = "waiting"document.completed_at = None