Skip to content

Commit 8e45753

Browse files
fix:restore correct numeric values for ParamsAutoGenerated (langgenius#27252)
1 parent 73e217a commit 8e45753

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎api/core/workflow/nodes/agent/entities.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ class AgentInput(BaseModel):
2626

2727

2828
class ParamsAutoGenerated(IntEnum):
29-
CLOSE = auto()
30-
OPEN = auto()
29+
CLOSE = 0
30+
OPEN = 1
3131

3232

3333
class AgentOldVersionModelFeatures(StrEnum):

0 commit comments

Comments
 (0)