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: if parameter is not required, continue (#21761)
jiangbo7219a4c1fe834df
diff --git a/api/core/workflow/nodes/tool/tool_node.py b/api/core/workflow/nodes/tool/tool_node.pyindex aa15d69931f..4d15d78a950 100644--- a/api/core/workflow/nodes/tool/tool_node.py+++ b/api/core/workflow/nodes/tool/tool_node.py@@ -167,7 +167,9 @@ class ToolNode(BaseNode[ToolNodeData]):if tool_input.type == "variable":variable = variable_pool.get(tool_input.value)if variable is None:- raise ToolParameterError(f"Variable {tool_input.value} does not exist")+ if parameter.required:+ raise ToolParameterError(f"Variable {tool_input.value} does not exist")+ continueparameter_value = variable.valueelif tool_input.type in {"mixed", "constant"}:segment_group = variable_pool.convert_template(str(tool_input.value))