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: use data.type instead of type when checking datasource node (#25965)
Yongtao Huang857a48012e40
diff --git a/api/services/rag_pipeline/rag_pipeline.py b/api/services/rag_pipeline/rag_pipeline.pyindex 1e0578d12f1..fdaaa73bcc4 100644--- a/api/services/rag_pipeline/rag_pipeline.py+++ b/api/services/rag_pipeline/rag_pipeline.py@@ -1381,8 +1381,8 @@ class RagPipelineService:datasource_nodes = workflow.graph_dict.get("nodes", [])datasource_plugins = []for datasource_node in datasource_nodes:- if datasource_node.get("type") == "datasource":- datasource_node_data = datasource_node.get("data", {})+ if datasource_node.get("data", {}).get("type") == "datasource":+ datasource_node_data = datasource_node["data"]if not datasource_node_data:continue