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:restore correct numeric values for ParamsAutoGenerated (#27252)

Cris8e45753c6854
diff --git a/api/core/workflow/nodes/agent/entities.py b/api/core/workflow/nodes/agent/entities.py
index ce6eb33ecca..985ee5eef27 100644
--- a/api/core/workflow/nodes/agent/entities.py
+++ b/api/core/workflow/nodes/agent/entities.py
@@ -26,8 +26,8 @@ class AgentNodeData(BaseNodeData):
class ParamsAutoGenerated(IntEnum):
- CLOSE = auto()
- OPEN = auto()
+ CLOSE = 0
+ OPEN = 1
class AgentOldVersionModelFeatures(StrEnum):