mirror of https://github.com/langgenius/dify.git
feat: add variable selector mapping
This commit is contained in:
parent
407bfb8182
commit
f318fa058c
|
|
@ -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'
|
||||
}
|
||||
Loading…
Reference in New Issue