瀏覽代碼

fix: variable aggregator with group and file raise exception (#20581)

tags/1.4.2
非法操作 5 月之前
父節點
當前提交
ca0b268ae5
No account linked to committer's email address
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3
    2
      api/core/workflow/nodes/variable_aggregator/entities.py

+ 3
- 2
api/core/workflow/nodes/variable_aggregator/entities.py 查看文件

@@ -1,7 +1,8 @@
from typing import Literal, Optional
from typing import Optional

from pydantic import BaseModel

from core.variables.types import SegmentType
from core.workflow.nodes.base import BaseNodeData


@@ -17,7 +18,7 @@ class AdvancedSettings(BaseModel):
Group.
"""

output_type: Literal["string", "number", "object", "array[string]", "array[number]", "array[object]"]
output_type: SegmentType
variables: list[list[str]]
group_name: str


Loading…
取消
儲存