fix: config name optimize

This commit is contained in:
zhayujie
2023-05-29 15:52:26 +08:00
parent 50e44dbb2a
commit 3590babd8b
3 changed files with 7 additions and 7 deletions

View File

@@ -23,7 +23,7 @@ class Bridge(object):
self.btype["chat"] = const.OPEN_AI
if conf().get("use_azure_chatgpt", False):
self.btype["chat"] = const.CHATGPTONAZURE
if conf().get("app_market_api_key") and conf().get("app_code"):
if conf().get("linkai_api_key") and conf().get("linkai_app_code"):
self.btype["chat"] = const.LINKAI
self.bots = {}