From 79f667aaaa5b810692b5e499c5d614581cdee987 Mon Sep 17 00:00:00 2001 From: taylor Date: Mon, 14 Oct 2024 00:51:48 +0800 Subject: [PATCH] =?UTF-8?q?add:=20=E6=B7=BB=E5=8A=A0=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- maubot_llmplus/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maubot_llmplus/plugin.py b/maubot_llmplus/plugin.py index 122984f..a13a762 100644 --- a/maubot_llmplus/plugin.py +++ b/maubot_llmplus/plugin.py @@ -11,7 +11,7 @@ class AbsExtraConfigPlugin(Plugin): await super().start() self.default_username = await self.client.get_displayname(self.client.mxid) self.user_id = self.client.parse_user_id(self.client.mxid)[0] - self.model = self.config['platform'][self.config['use_platform']]['model'] + self.model = self.config['platforms'][self.config['use_platform']]['model'] def get_bot_name(self) -> str: return self.config['name'] or \