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 draft run node exception (#18520)

非法操作18e4f42c3cd0
diff --git a/api/services/workflow_service.py b/api/services/workflow_service.py
index 5cd5c557466..63e37911470 100644
--- a/api/services/workflow_service.py
+++ b/api/services/workflow_service.py
@@ -289,7 +289,7 @@ class WorkflowService:
params={
"tenant_id": app_model.tenant_id,
"app_id": app_model.id,
- "session_factory": db.session.get_bind,
+ "session_factory": db.session.get_bind(),
}
)
repository.save(workflow_node_execution)