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 model workflow_draft_variables duplicate app_id set. (#19949)

湛露先生911f9eadd0fd
diff --git a/api/models/workflow.py b/api/models/workflow.py
index a81c8892773..91be1cda6e1 100644
--- a/api/models/workflow.py
+++ b/api/models/workflow.py
@@ -947,7 +947,6 @@ class WorkflowDraftVariable(Base):
variable.app_id = app_id
variable.node_id = node_id
variable.name = name
- variable.app_id = app_id
variable.set_value(value)
variable._set_selector(list(variable_utils.to_selector(node_id, name)))
return variable