Some checks are pending
Build and Push Docker Images / changes (push) Waiting to run
Build and Push Docker Images / build-backend (push) Blocked by required conditions
Build and Push Docker Images / build-frontend (push) Blocked by required conditions
Build and Push Docker Images / build-admin-frontend (push) Blocked by required conditions
22 lines
894 B
Python
22 lines
894 B
Python
"""适配器模块 - 供应商平台化架构核心。"""
|
|
|
|
from app.services.adapters.base import AdapterConfig, BaseAdapter
|
|
|
|
# Image adapters
|
|
from app.services.adapters.image import cqtai as _image_cqtai_adapter # noqa: F401
|
|
from app.services.adapters.registry import AdapterRegistry
|
|
|
|
# Storybook adapters
|
|
from app.services.adapters.storybook import primary as _storybook_primary # noqa: F401
|
|
from app.services.adapters.text import gemini as _text_gemini_adapter # noqa: F401
|
|
|
|
# 导入所有适配器以触发注册
|
|
# Text adapters
|
|
from app.services.adapters.text import openai as _text_openai_adapter # noqa: F401
|
|
|
|
# TTS adapters
|
|
from app.services.adapters.tts import elevenlabs as _tts_elevenlabs_adapter # noqa: F401
|
|
from app.services.adapters.tts import minimax as _tts_minimax_adapter # noqa: F401
|
|
|
|
__all__ = ["AdapterConfig", "BaseAdapter", "AdapterRegistry"]
|