Skip to content

Commit 57d23ed

Browse files
authored
fix: [Intelligent Agent] Importing advanced intelligent agents, the sub tools of the workflow tool referenced by AI nodes have not been created (#5037)
1 parent edc2237 commit 57d23ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/application/flow/tools.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ def get_child_tool_id_list(work_flow, response):
984984
response.append(str(tool.id))
985985
if tool.tool_type == ToolType.WORKFLOW:
986986
get_child_tool_id_list(work_flow_tool_dict.get(tool.id).work_flow, response)
987-
else:
988-
for tool in tool_list:
989-
response.append(str(tool.id))
987+
else:
988+
for tool in tool_list:
989+
response.append(str(tool.id))
990990
return response

0 commit comments

Comments
 (0)