mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-19 23:19:15 +08:00
fix: draft run single node can't get env variable (#12266)
This commit is contained in:
parent
5b6950e545
commit
b218df6920
@ -239,6 +239,10 @@ class WorkflowEntry:
|
|||||||
):
|
):
|
||||||
raise ValueError(f"Variable key {node_variable} not found in user inputs.")
|
raise ValueError(f"Variable key {node_variable} not found in user inputs.")
|
||||||
|
|
||||||
|
# environment variable already exist in variable pool, not from user inputs
|
||||||
|
if variable_pool.get(variable_selector):
|
||||||
|
continue
|
||||||
|
|
||||||
# fetch variable node id from variable selector
|
# fetch variable node id from variable selector
|
||||||
variable_node_id = variable_selector[0]
|
variable_node_id = variable_selector[0]
|
||||||
variable_key_list = variable_selector[1:]
|
variable_key_list = variable_selector[1:]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user