mirror of
https://github.com/langgenius/dify.git
synced 2026-04-28 20:17:29 +08:00
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
|
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
Block a user