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 compatibility problem caused by tool node attribute 'tool_node_version' judgement error (#26274)
goofy244c132656c5
diff --git a/api/core/workflow/nodes/agent/agent_node.py b/api/core/workflow/nodes/agent/agent_node.pyindex ec058058792..a01686a4b8f 100644--- a/api/core/workflow/nodes/agent/agent_node.py+++ b/api/core/workflow/nodes/agent/agent_node.py@@ -288,7 +288,7 @@ class AgentNode(Node):# But for backward compatibility with historical data# this version field judgment is still preserved here.runtime_variable_pool: VariablePool | None = None- if node_data.version != "1" or node_data.tool_node_version != "1":+ if node_data.version != "1" or node_data.tool_node_version is not None:runtime_variable_pool = variable_pooltool_runtime = ToolManager.get_agent_tool_runtime(self.tenant_id, self.app_id, entity, self.invoke_from, runtime_variable_pooldiff --git a/api/core/workflow/nodes/tool/tool_node.py b/api/core/workflow/nodes/tool/tool_node.pyindex 5f2abcd3786..ce1a879ff15 100644--- a/api/core/workflow/nodes/tool/tool_node.py+++ b/api/core/workflow/nodes/tool/tool_node.py@@ -79,7 +79,7 @@ class ToolNode(Node):# But for backward compatibility with historical data# this version field judgment is still preserved here.variable_pool: VariablePool | None = None- if node_data.version != "1" or node_data.tool_node_version != "1":+ if node_data.version != "1" or node_data.tool_node_version is not None:variable_pool = self.graph_runtime_state.variable_pooltool_runtime = ToolManager.get_workflow_tool_runtime(self.tenant_id, self.app_id, self._node_id, self._node_data, self.invoke_from, variable_pool