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: non-auto variable type params of agent node tool are not correctly parsed (#31128)
zejiewang811e43d0d4f8
diff --git a/api/core/workflow/nodes/agent/agent_node.py b/api/core/workflow/nodes/agent/agent_node.pyindex 234651ce961..bf3c045fd60 100644--- a/api/core/workflow/nodes/agent/agent_node.py+++ b/api/core/workflow/nodes/agent/agent_node.py@@ -235,7 +235,18 @@ class AgentNode(Node[AgentNodeData]):0,):value_param = param.get("value", {})- params[key] = value_param.get("value", "") if value_param is not None else None+ if value_param and value_param.get("type", "") == "variable":+ variable_selector = value_param.get("value")+ if not variable_selector:+ raise ValueError("Variable selector is missing for a variable-type parameter.")++ variable = variable_pool.get(variable_selector)+ if variable is None:+ raise AgentVariableNotFoundError(str(variable_selector))++ params[key] = variable.value+ else:+ params[key] = value_param.get("value", "") if value_param is not None else Noneelse:params[key] = Noneparameters = params