From d738d498ce85efed2301597bfab3949aaf7b2dbc Mon Sep 17 00:00:00 2001 From: taylor Date: Mon, 14 Oct 2024 22:17:01 +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 15fcf54..8e397ac 100644 --- a/maubot_llmplus/aibot.py +++ b/maubot_llmplus/aibot.py @@ -212,7 +212,7 @@ class AiBotPlugin(AbsExtraConfigPlugin): "Example: local_ai#ollama") pass if argus == 'local_ai#ollama' or argus == 'local_ai#lmstudio': - if argus.split('#')[1] == self.config.cur_platform: + if argus == self.config.cur_platform: await event.reply(f"current ai platform has be {argus}") pass else: