From 584ffcc9c46825ebe14f97ce178f2fe79dfbd943 Mon Sep 17 00:00:00 2001 From: taylor <=> Date: Mon, 14 Oct 2024 13:52:27 +0800 Subject: [PATCH] =?UTF-8?q?add:=20=E5=A2=9E=E5=8A=A0=E5=88=87=E6=8D=A2ai?= =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- maubot_llmplus/platforms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maubot_llmplus/platforms.py b/maubot_llmplus/platforms.py index 36df96d..cbb5577 100644 --- a/maubot_llmplus/platforms.py +++ b/maubot_llmplus/platforms.py @@ -39,7 +39,7 @@ class Platform: self.http = http self.config = config['platforms'][self.get_type()] self.url = self.config['url'] - self.model = config._cur_model + self.model = config.cur_model self.max_words = self.config['max_words'] self.api_key = self.config['api_key'] self.max_context_messages = self.config['max_context_messages']