mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-19 00:40:59 +00:00
fix(keymgr.py): 不正确的keyname索引方式
This commit is contained in:
@@ -55,7 +55,7 @@ class KeysManager:
|
|||||||
return True, key_name
|
return True, key_name
|
||||||
|
|
||||||
self.using_key = list(self.api_key.values())[0]
|
self.using_key = list(self.api_key.values())[0]
|
||||||
logging.info("使用api-key:" + self.api_key.keys()[0])
|
logging.info("使用api-key:" + list(self.api_key.keys())[0])
|
||||||
|
|
||||||
return False, ""
|
return False, ""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user