mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-15 17:45:58 +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 pydantic import BaseModel
|
||||||
|
|
||||||
|
from core.variables.types import SegmentType
|
||||||
from core.workflow.nodes.base import BaseNodeData
|
from core.workflow.nodes.base import BaseNodeData
|
||||||
|
|
||||||
|
|
||||||
@ -17,7 +18,7 @@ class AdvancedSettings(BaseModel):
|
|||||||
Group.
|
Group.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
output_type: Literal["string", "number", "object", "array[string]", "array[number]", "array[object]"]
|
output_type: SegmentType
|
||||||
variables: list[list[str]]
|
variables: list[list[str]]
|
||||||
group_name: str
|
group_name: str
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user