feat: add variable selector mapping

This commit is contained in:
Yeuoly 2024-03-11 16:48:28 +08:00 committed by takatost
parent 407bfb8182
commit f318fa058c
1 changed files with 5 additions and 1 deletions

View File

@ -137,4 +137,8 @@ class ToolNode(BaseNode):
"""
Extract variable selector to variable mapping
"""
pass
return {
k.value_selector: k.variable
for k in cast(ToolNodeData, node_data).tool_parameters
if k.variable_type == 'selector'
}