Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: single step node execution init error (#22764)

Novicee9c9c5d8f112
diff --git a/api/core/workflow/workflow_entry.py b/api/core/workflow/workflow_entry.py
index d2375da39c7..c8082ebf502 100644
--- a/api/core/workflow/workflow_entry.py
+++ b/api/core/workflow/workflow_entry.py
@@ -163,6 +163,7 @@ class WorkflowEntry:
graph=graph,
graph_runtime_state=GraphRuntimeState(variable_pool=variable_pool, start_at=time.perf_counter()),
)
+ node.init_node_data(node_config_data)
try:
# variable selector to variable mapping
@@ -273,6 +274,7 @@ class WorkflowEntry:
graph=graph,
graph_runtime_state=GraphRuntimeState(variable_pool=variable_pool, start_at=time.perf_counter()),
)
+ node.init_node_data(node_data)
try:
# variable selector to variable mapping