mirror of
https://github.com/langgenius/dify.git
synced 2026-03-25 14:01:06 -04:00
Merge remote-tracking branch 'refs/remotes/origin/main' into feat/evaluation
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from typing import TypedDict
|
||||
|
||||
from core.workflow.variables.segments import Segment
|
||||
from core.workflow.variables.types import SegmentType
|
||||
from dify_graph.variables.segments import Segment
|
||||
from dify_graph.variables.types import SegmentType
|
||||
|
||||
|
||||
class _VarTypedDict(TypedDict, total=False):
|
||||
|
||||
@@ -5,7 +5,7 @@ from typing import Any, TypeAlias
|
||||
|
||||
from pydantic import BaseModel, ConfigDict, Field, field_validator, model_validator
|
||||
|
||||
from core.workflow.file import File
|
||||
from dify_graph.file import File
|
||||
|
||||
JSONValue: TypeAlias = Any
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ from datetime import datetime
|
||||
from flask_restx import fields
|
||||
from pydantic import BaseModel, ConfigDict, computed_field, field_validator
|
||||
|
||||
from core.workflow.file import helpers as file_helpers
|
||||
from dify_graph.file import helpers as file_helpers
|
||||
|
||||
simple_account_fields = {
|
||||
"id": fields.String,
|
||||
|
||||
@@ -7,7 +7,7 @@ from uuid import uuid4
|
||||
from pydantic import BaseModel, ConfigDict, Field, field_validator
|
||||
|
||||
from core.entities.execution_extra_content import ExecutionExtraContentDomainModel
|
||||
from core.workflow.file import File
|
||||
from dify_graph.file import File
|
||||
from fields.conversation_fields import AgentThought, JSONValue, MessageFile
|
||||
|
||||
JSONValueType: TypeAlias = JSONValue
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
from flask_restx import fields
|
||||
|
||||
from core.workflow.file import File
|
||||
from dify_graph.file import File
|
||||
|
||||
|
||||
class FilesContainedField(fields.Raw):
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from flask_restx import fields
|
||||
|
||||
from core.helper import encrypter
|
||||
from core.workflow.variables import SecretVariable, SegmentType, VariableBase
|
||||
from dify_graph.variables import SecretVariable, SegmentType, VariableBase
|
||||
from fields.member_fields import simple_account_fields
|
||||
from libs.helper import TimestampField
|
||||
|
||||
|
||||
Reference in New Issue
Block a user