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: add list type support for ToolInput constant value in tool node (#31276)
fenglin91532ef42979
diff --git a/api/core/workflow/nodes/tool/entities.py b/api/core/workflow/nodes/tool/entities.pyindex c1cfbb1edc7..8fe33c240a5 100644--- a/api/core/workflow/nodes/tool/entities.py+++ b/api/core/workflow/nodes/tool/entities.py@@ -54,8 +54,8 @@ class ToolNodeData(BaseNodeData, ToolEntity):for val in value:if not isinstance(val, str):raise ValueError("value must be a list of strings")- elif typ == "constant" and not isinstance(value, str | int | float | bool | dict):- raise ValueError("value must be a string, int, float, bool or dict")+ elif typ == "constant" and not isinstance(value, (allowed_types := (str, int, float, bool, dict, list))):+ raise ValueError(f"value must be one of: {', '.join(t.__name__ for t in allowed_types)}")return typtool_parameters: dict[str, ToolInput]