From 2081e78308eaaccadb12e6dd777fbb3894550755 Mon Sep 17 00:00:00 2001 From: taylor Date: Mon, 14 Oct 2024 01:02:28 +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/aibot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maubot_llmplus/aibot.py b/maubot_llmplus/aibot.py index 8177741..39b3b56 100644 --- a/maubot_llmplus/aibot.py +++ b/maubot_llmplus/aibot.py @@ -28,7 +28,7 @@ class Config(BaseProxyConfig): helper.copy("system_prompt") helper.copy("platforms") helper.copy("additional_prompt") - super._cur_model = self['platforms'][self['use_platform']]['model'] + super._cur_model = self['platforms'][str(self['use_platform'])]['model'] class AiBotPlugin(AbsExtraConfigPlugin):