mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-20 13:47:15 +08:00
fix: add tongyi type when init bridge
This commit is contained in:
@@ -35,6 +35,8 @@ class Bridge(object):
|
|||||||
self.btype["text_to_voice"] = const.LINKAI
|
self.btype["text_to_voice"] = const.LINKAI
|
||||||
if model_type in ["claude"]:
|
if model_type in ["claude"]:
|
||||||
self.btype["chat"] = const.CLAUDEAI
|
self.btype["chat"] = const.CLAUDEAI
|
||||||
|
if model_type in ["tongyi"]:
|
||||||
|
self.btype["chat"] = const.TONGYI
|
||||||
self.bots = {}
|
self.bots = {}
|
||||||
self.chat_bots = {}
|
self.chat_bots = {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user