Skip to content

Commit f5681d8

Browse files
committed
fix: Tool-Workflow Relationships
1 parent 988a610 commit f5681d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/application/flow/tools.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,8 @@ async def anext_async(agen):
789789
'ai-chat-node': lambda n: [*(n.get('properties').get('node_data').get('mcp_tool_ids') or []),
790790
*(n.get('properties').get('node_data').get('tool_ids') or []),
791791
*(n.get('properties').get('node_data').get('skill_tool_ids') or [])],
792-
'mcp-node': lambda n: [n.get('properties').get('node_data').get('mcp_tool_id')]
792+
'mcp-node': lambda n: [n.get('properties').get('node_data').get('mcp_tool_id')],
793+
'tool-workflow-lib-node': lambda n: [n.get('properties').get('node_data').get('tool_lib_id')]
793794
},
794795
'MODEL': {'ai-chat-node': lambda n: [n.get('properties').get('node_data').get('model_id')],
795796
'question-node': lambda n: [n.get('properties').get('node_data').get('model_id')],

0 commit comments

Comments
 (0)