From 838eda13846afb3f3a7c0012488302ed98cb73c3 Mon Sep 17 00:00:00 2001 From: GuanMu Date: Tue, 22 Jul 2025 01:51:19 +0000 Subject: [PATCH] fix : https://github.com/langgenius/dify/pull/20921#discussion_r2220751387 --- api/core/workflow/nodes/answer/entities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/core/workflow/nodes/answer/entities.py b/api/core/workflow/nodes/answer/entities.py index 530327cdf5..ea84ffda59 100644 --- a/api/core/workflow/nodes/answer/entities.py +++ b/api/core/workflow/nodes/answer/entities.py @@ -13,7 +13,7 @@ class AnswerNodeData(BaseNodeData): """ answer: str = Field(..., description="answer template string") - outputs: list[VariableSelector] + outputs: list[VariableSelector] = Field(default_factory=list, description="list of variable selectors") class GenerateRouteChunk(BaseModel):