From 2e3befea544104f24fdd16a1936f4ab1bc0b5624 Mon Sep 17 00:00:00 2001 From: Rock Chin <1010553892@qq.com> Date: Mon, 2 Jan 2023 23:17:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B6=85=E9=A2=9D=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E6=97=B6=E4=B8=8D=E5=86=8D=E5=B0=86=E5=BD=93=E5=89=8D=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E9=87=8F=E8=AE=BE=E7=BD=AE=E4=B8=BA=E6=9C=80=E5=A4=A7?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/qqbot/process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/qqbot/process.py b/pkg/qqbot/process.py index dcb6ecc9..8f1222a0 100644 --- a/pkg/qqbot/process.py +++ b/pkg/qqbot/process.py @@ -196,7 +196,7 @@ def process_message(launcher_type: str, launcher_id: int, text_message: str, mes # 尝试切换api-key current_tokens_amt = pkg.utils.context.get_openai_manager().key_mgr.get_fee( pkg.utils.context.get_openai_manager().key_mgr.get_using_key()) - pkg.utils.context.get_openai_manager().key_mgr.set_current_exceeded() + # pkg.utils.context.get_openai_manager().key_mgr.set_current_exceeded() switched, name = pkg.utils.context.get_openai_manager().key_mgr.auto_switch() if not switched: