docs: 更新性能优化文档并修复命令管理器帮助输出

更新性能优化相关文档,详细说明 Python 3.14 JIT 编译器的使用方法和原理,补充与 Mypyc 的互补策略。同时修复命令管理器中帮助信息的输出方式,移除图片发送仅保留文本输出。

调整部署文档结构,明确两种性能优化方案(AOT 和 JIT)的配置方法和适用场景。完善架构文档中关于 JIT 的原理和启用方式说明。
This commit is contained in:
2026-01-13 10:18:48 +08:00
parent 13a27ca415
commit 7868fb2b41
4 changed files with 51 additions and 7 deletions

View File

@@ -225,8 +225,7 @@ class CommandManager:
help_text += f" 功能: {description}\n"
help_text += f" 用法: {usage}\n"
await bot.send(event, MessageSegment.image(help_pic))
# await bot.send(event, help_text.strip())
await bot.send(event, help_text.strip())
# 实例化全局唯一的命令管理器