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: