From 8d07ba6332f78ce276d8a0f1daa075a6484ada67 Mon Sep 17 00:00:00 2001 From: Han Fangyuan Date: Sun, 19 Nov 2023 23:00:18 +0800 Subject: [PATCH] fix: add tongyi type when init bridge --- bridge/bridge.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bridge/bridge.py b/bridge/bridge.py index ba6e568..ea8de13 100644 --- a/bridge/bridge.py +++ b/bridge/bridge.py @@ -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 = {}