From ae831a26548a6b81e4922a134238b3e67420bba5 Mon Sep 17 00:00:00 2001 From: zyckk4 <2240486388@qq.com> Date: Mon, 3 Apr 2023 10:13:20 +0800 Subject: [PATCH] =?UTF-8?q?[Fix]=20=E4=BF=AE=E5=A4=8D=E4=B8=80=E5=A4=84?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E6=B3=A8=E8=A7=A3=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/openai/keymgr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/openai/keymgr.py b/pkg/openai/keymgr.py index 4bb82038..0e7817ec 100644 --- a/pkg/openai/keymgr.py +++ b/pkg/openai/keymgr.py @@ -48,7 +48,7 @@ class KeysManager: self.auto_switch() - def auto_switch(self) -> (bool, str): + def auto_switch(self) -> tuple[bool, str]: """尝试切换api-key Returns: