feat: add app market

This commit is contained in:
zhayujie
2023-05-28 19:08:23 +08:00
parent f1a00d58ca
commit 34277a3940
6 changed files with 81 additions and 1 deletions

View File

@@ -23,6 +23,8 @@ 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"):
self.btype["chat"] = const.LINKAI
self.bots = {}
def get_bot(self, typename):