mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-15 14:15:52 +08:00
fix: variable aggregator with group and file raise exception (#20581)
This commit is contained in:
parent
25be7c1ad5
commit
ca0b268ae5
@ -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…
x
Reference in New Issue
Block a user