refactor: 重写 LLM OpenAI 模块

This commit is contained in:
Soulter
2024-05-17 22:56:44 +08:00
parent 1775327c2e
commit 934ca94e62
8 changed files with 864 additions and 520 deletions
-2
View File
@@ -223,8 +223,6 @@ class Command:
"nick": "设置机器人昵称",
"plugin": "插件安装、卸载和重载",
"web on/off": "LLM 网页搜索能力",
"reset": "重置 LLM 对话",
"/gpt": "切换到 OpenAI 官方接口"
}
async def help_messager(self, commands: dict, platform: str, cached_plugins: List[RegisteredPlugin] = None):