hub-gif e60e8170f9 feat(llm): 增加 DeepSeek 纯文本适配器与 DEEPSEEK_*
MA_LLM_TEXT_PROVIDER=deepseek|deep_seek;.env.example 增加 ②-D;单测与 Kimi 同形。

Made-with: Cursor
2026-04-27 11:12:05 +08:00

23 lines
611 B
Python

"""文本大模型调用的协议、适配器与工厂(与具体提示词/业务生成逻辑解耦)。"""
from __future__ import annotations
from .adapters import (
CrawlerOpenAiCompatibleTextLlm,
DeepSeekTextLlm,
KimiMoonshotTextLlm,
OpenAiOfficialChatGptTextLlm,
)
from .factory import get_text_llm, reset_text_llm_client_for_tests
from .protocol import TextLlmClient
__all__ = [
"CrawlerOpenAiCompatibleTextLlm",
"DeepSeekTextLlm",
"KimiMoonshotTextLlm",
"OpenAiOfficialChatGptTextLlm",
"TextLlmClient",
"get_text_llm",
"reset_text_llm_client_for_tests",
]