From b7cb51da4d75cb09fcb40dfa8ed02e05afc0793c Mon Sep 17 00:00:00 2001 From: taylor Date: Mon, 14 Oct 2024 22:15:05 +0800 Subject: [PATCH] =?UTF-8?q?add:=20=E5=A2=9E=E5=8A=A0=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E5=BD=93=E5=89=8D=E4=BD=BF=E7=94=A8=E7=9A=84ai=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=E5=91=BD=E4=BB=A4=20add:=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=9F=A5=E7=9C=8Binfo=E5=91=BD=E4=BB=A4?= 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 32ff00c..15fcf54 100644 --- a/maubot_llmplus/aibot.py +++ b/maubot_llmplus/aibot.py @@ -217,7 +217,7 @@ class AiBotPlugin(AbsExtraConfigPlugin): pass else: self.config.cur_platform = argus - self.config.cur_model = self.config['platforms'][argus.split("#")[1]]['model'] + self.config.cur_model = self.config['platforms'][argus.split("#")[0]]['model'] await event.react("✅") # 如果是openai或者是claude elif argus == 'openai' or argus == 'anthropic':