From 3e8bf75f05a9273bd601785d8bd2e09726bfb3e5 Mon Sep 17 00:00:00 2001 From: taylor Date: Sun, 13 Oct 2024 18:56:43 +0800 Subject: [PATCH] =?UTF-8?q?add:=20=E6=B7=BB=E5=8A=A0=E5=91=BD=E4=BB=A4ai?= =?UTF-8?q?=20model=20list=E7=9A=84=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- maubot_llmplus/aibot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maubot_llmplus/aibot.py b/maubot_llmplus/aibot.py index e112d6a..25ba759 100644 --- a/maubot_llmplus/aibot.py +++ b/maubot_llmplus/aibot.py @@ -167,7 +167,7 @@ class AiBotPlugin(Plugin): # 如果是list表示查看当前可以使用的模型列表 if argus == 'list': platform = self.get_ai_platform() - models = platform.list_models() + models = await platform.list_models() await event.reply("\n".join(models)) # 如果不是,如果是其他的名称,表示这是一个模型名