hub-gif 52c9dc1697 refactor(pipeline/llm): 文本大模型工厂与 OpenAI 兼容适配器
新增 providers 包:协议、Crawler 网关适配器、output 去围栏、token 启发式与工厂;llm_client 与 keyword_suggest 走统一入口。未改各 generate_* 提示词。补充 MA_LLM_TEXT_PROVIDER 说明至 .env.example。

Made-with: Cursor
2026-04-27 09:56:21 +08:00

12 lines
344 B
Python

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