Browse Source

fix: add tongyi type when init bridge

master
Han Fangyuan 1 year ago
parent
commit
8d07ba6332
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      bridge/bridge.py

+ 2
- 0
bridge/bridge.py View File

@@ -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 = {}




Loading…
Cancel
Save