zhenxun_bot/zhenxun/builtin_plugins
Rumio 7c153721f0
Some checks failed
检查bot是否运行正常 / bot check (push) Waiting to run
Sequential Lint and Type Check / ruff-call (push) Waiting to run
Sequential Lint and Type Check / pyright-call (push) Blocked by required conditions
Release Drafter / Update Release Draft (push) Waiting to run
Force Sync to Aliyun / sync (push) Waiting to run
Update Version / update-version (push) Waiting to run
CodeQL Code Security Analysis / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
CodeQL Code Security Analysis / Analyze (${{ matrix.language }}) (none, python) (push) Has been cancelled
♻️ refactor!: 重构LLM服务架构并统一Pydantic兼容性处理 (#2002)
* ♻️ refactor(pydantic): 提取 Pydantic 兼容函数到独立模块

* ♻️ refactor!(llm): 重构LLM服务,引入现代化工具和执行器架构

🏗️ **架构变更**
- 引入ToolProvider/ToolExecutable协议,取代ToolRegistry
- 新增LLMToolExecutor,分离工具调用逻辑
- 新增BaseMemory抽象,解耦会话状态管理

🔄 **API重构**
- 移除:analyze, analyze_multimodal, pipeline_chat
- 新增:generate_structured, run_with_tools
- 重构:chat, search, code变为无状态调用

🛠️ **工具系统**
- 新增@function_tool装饰器
- 统一工具定义到ToolExecutable协议
- 移除MCP工具系统和mcp_tools.json

---------

Co-authored-by: webjoin111 <455457521@qq.com>
2025-08-04 23:36:12 +08:00
..
admin feat(admin): 增加封禁用户理由并优化相关逻辑 (#1992) 2025-07-29 17:22:27 +08:00
auto_update 检查更新支持webui更新 (#1925) 2025-07-11 10:11:14 +08:00
chat_history 引入缓存机制 (#1889) 2025-07-14 22:35:29 +08:00
check 🚨 Add specific ignore items in pyright ignore 2025-01-10 12:19:11 +08:00
help feat(help): 引入LLM智能帮助并优化其功能 (#1982) 2025-07-16 13:48:13 +08:00
hooks feat(admin): 增加封禁用户理由并优化相关逻辑 (#1992) 2025-07-29 17:22:27 +08:00
info 新增好感度/金币设置和详细帮助 (#1831) 2025-01-10 18:39:23 +08:00
init 引入缓存机制 (#1889) 2025-07-14 22:35:29 +08:00
llm_manager ♻️ refactor!: 重构LLM服务架构并统一Pydantic兼容性处理 (#2002) 2025-08-04 23:36:12 +08:00
mahiro_bank 添加真寻银行 2025-05-26 10:55:30 +08:00
platform 添加bot画像 2025-07-16 02:51:06 +08:00
plugin_store fix(plugin_store): 修复递代错误 (#1986) 2025-07-17 19:01:02 +08:00
restart Compatible with pydantic 2.0 using the pydantic compatibility layer provided by nonebot 2025-01-10 12:19:11 +08:00
scheduler Compatible with pydantic 2.0 using the pydantic compatibility layer provided by nonebot 2025-01-10 12:19:11 +08:00
scheduler_admin ♻️ refactor(scheduler): 重构定时任务服务架构并增强用户体验 (#1967) 2025-07-10 22:20:08 +08:00
shop 添加bot画像 2025-07-16 02:51:06 +08:00
sign_in 首次启动时提供使用web ui方式完全配置 (#1870) 2025-06-16 09:11:41 +08:00
statistics feat(limit, message): 引入声明式限流系统并增强消息格式化功能 (#1978) 2025-07-15 17:13:33 +08:00
superuser 添加bot画像 2025-07-16 02:51:06 +08:00
web_ui 引入缓存机制 (#1889) 2025-07-14 22:35:29 +08:00
__init__.py 格式化db_context (#1980) 2025-07-15 17:08:42 +08:00
about.py 🐛 修复群被动开关 2025-04-17 16:58:45 +08:00
bot_profile.py 添加bot画像 2025-07-16 02:51:06 +08:00
catchphrase.py Develop: 完全使用 ruff 替代 isort 与 black (#1757) 2024-12-10 19:49:11 +08:00
help_help.py 引用消息同意好友/群组请求 (#1902) 2025-06-09 14:39:28 +08:00
nickname.py feat(admin): 增加封禁用户理由并优化相关逻辑 (#1992) 2025-07-29 17:22:27 +08:00
record_request.py 引用消息同意好友/群组请求 (#1902) 2025-06-09 14:39:28 +08:00
withdraw.py 新增好感度/金币设置和详细帮助 (#1831) 2025-01-10 18:39:23 +08:00