diff --git a/base-config.yaml b/base-config.yaml index 903992f..162d861 100644 --- a/base-config.yaml +++ b/base-config.yaml @@ -2,11 +2,11 @@ allowed_users: [] use_platform: local_ai -name: +name: "ollama" -reply_in_thread: +reply_in_thread: true -enable_multi_user: +enable_multi_user: true system_prompt: "" @@ -17,7 +17,7 @@ platforms: api_key: model: llama3.2 max_words: 1000 - max_context_messages: 100 + max_context_messages: 20 openai: url: api_key: diff --git a/maubot_llmplus/aibot.py b/maubot_llmplus/aibot.py index 25ba759..fdb0d9e 100644 --- a/maubot_llmplus/aibot.py +++ b/maubot_llmplus/aibot.py @@ -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) # 如果不是,如果是其他的名称,表示这是一个模型名