Skip to content

Commit

Permalink
fix: add tongyi type when init bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
hanfangyuan4396 committed Nov 19, 2023
1 parent 4ce37f8 commit 8d07ba6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bridge/bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ def __init__(self):
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 = {}

Expand Down

0 comments on commit 8d07ba6

Please sign in to comment.