feat: v2.0.0 架构重构 - 大模型池、Agent管理、渠道独立绑定、思考功能

This commit is contained in:
2026-04-12 16:13:34 +08:00
parent 28d0fbc5ce
commit a0c43ba67b
10 changed files with 3597 additions and 74 deletions

View File

@@ -1,9 +1,24 @@
# v1 服务(兼容)
from .ai_service import ai_service, AIService
from .conversation_service import ConversationService
from .matrix_service import matrix_bot, MatrixBot
# v2 服务
from .llm_service import llm_service, LLMService
from .agent_service import AgentService, LLMProviderService, ChannelService
# Matrix服务
try:
from .matrix_service_v2 import matrix_bot, MatrixBotV2
except ImportError:
from .matrix_service import matrix_bot, MatrixBot
__all__ = [
# v1
'ai_service', 'AIService',
'ConversationService',
'matrix_bot', 'MatrixBot'
# v2
'llm_service', 'LLMService',
'AgentService', 'LLMProviderService', 'ChannelService',
# Matrix
'matrix_bot', 'MatrixBotV2'
]