浏览代码

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

tags/1.4.2
非法操作 5 个月前
父节点
当前提交
ca0b268ae5
没有帐户链接到提交者的电子邮件
共有 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


正在加载...
取消
保存