add: 添加命令ai model list的逻辑

This commit is contained in:
taylor
2024-10-13 19:10:39 +08:00
parent 6823b8a6d5
commit 9417a3c75c
2 changed files with 5 additions and 5 deletions

View File

@@ -168,7 +168,7 @@ class AiBotPlugin(Plugin):
if argus == 'list':
platform = self.get_ai_platform()
models = await platform.list_models()
await event.reply("\n".join(models))
await event.reply("\n".join(models), markdown=True)
# 如果不是,如果是其他的名称,表示这是一个模型名