fix(api/core/workflow/nodes/tool/tool_node.py): Keep None value in tool params. (#7066)
This commit is contained in:
parent
a0d5b61c2a
commit
67a2f14cef
1 changed files with 1 additions and 0 deletions
|
|
@ -118,6 +118,7 @@ class ToolNode(BaseNode):
|
|||
for parameter_name in node_data.tool_parameters:
|
||||
parameter = tool_parameters_dictionary.get(parameter_name)
|
||||
if not parameter:
|
||||
result[parameter_name] = None
|
||||
continue
|
||||
if parameter.type == ToolParameter.ToolParameterType.FILE:
|
||||
result[parameter_name] = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue