Merge pull request #1537 from hanfangyuan4396/master

支持阿里云百炼平台通义千问模型
This commit is contained in:
zhayujie
2023-12-08 13:27:52 +08:00
committed by GitHub
6 changed files with 203 additions and 2 deletions

View File

@@ -35,6 +35,8 @@ class Bridge(object):
self.btype["text_to_voice"] = const.LINKAI
if model_type in ["claude"]:
self.btype["chat"] = const.CLAUDEAI
if model_type in ["tongyi"]:
self.btype["chat"] = const.TONGYI
self.bots = {}
self.chat_bots = {}