From 24b094842f4a60b565409dfe3614dcc03e995e71 Mon Sep 17 00:00:00 2001 From: taylor Date: Mon, 14 Oct 2024 01:12:38 +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/platforms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maubot_llmplus/platforms.py b/maubot_llmplus/platforms.py index 09d3217..922b3c1 100644 --- a/maubot_llmplus/platforms.py +++ b/maubot_llmplus/platforms.py @@ -37,7 +37,7 @@ class Platform: system_prompt: str max_context_messages: int - def __init__(self, config: Config, http: ClientSession) -> None: + def __init__(self, config: BaseProxyConfig, http: ClientSession) -> None: self.http = http self.config = config['platforms'][self.get_type()] self.url = self.config['url']