feat: add variable selector mapping

This commit is contained in:
Yeuoly 2024-03-11 16:48:28 +08:00
parent f3d19f9691
commit 2d68594a86
No known key found for this signature in database
GPG Key ID: A66E7E320FB19F61
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'
}