dify/dify-agent/src/agenton_collections/__init__.py
盐粒 Yanli 55f95dbc36
feat(agent): init agent server (#36087)
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-14 06:04:44 +00:00

53 lines
1.2 KiB
Python

"""Convenience exports for reusable layer implementations.
Concrete collection layers live in family subpackages such as
``agenton_collections.layers.plain`` and
``agenton_collections.layers.pydantic_ai``. The package root keeps short
client-safe imports for common plain layers while requiring explicit submodule
imports for pydantic-ai bridge implementations.
"""
from agenton.layers.types import (
AllPromptTypes,
AllToolTypes,
PlainLayer,
PlainPrompt,
PlainPromptType,
PlainTool,
PlainToolType,
PydanticAILayer,
PydanticAIPrompt,
PydanticAIPromptType,
PydanticAITool,
PydanticAIToolType,
)
from agenton_collections.layers.plain import (
DynamicToolsLayer,
DynamicToolsLayerDeps,
ObjectLayer,
PromptLayer,
ToolsLayer,
with_object,
)
__all__ = [
"AllPromptTypes",
"AllToolTypes",
"DynamicToolsLayer",
"DynamicToolsLayerDeps",
"ObjectLayer",
"PlainLayer",
"PlainPrompt",
"PlainPromptType",
"PlainTool",
"PlainToolType",
"PromptLayer",
"PydanticAILayer",
"PydanticAIPrompt",
"PydanticAIPromptType",
"PydanticAITool",
"PydanticAIToolType",
"ToolsLayer",
"with_object",
]