feat: support Minimax-M2.5, glm-5, kimi-k2.5

This commit is contained in:
zhayujie
2026-02-14 15:27:44 +08:00
parent a24b26a1ef
commit 48db538a2e
6 changed files with 412 additions and 31 deletions

View File

@@ -55,6 +55,8 @@ class Bridge(object):
if model_type in [const.MOONSHOT, "moonshot-v1-8k", "moonshot-v1-32k", "moonshot-v1-128k"]:
self.btype["chat"] = const.MOONSHOT
if model_type and model_type.startswith("kimi"):
self.btype["chat"] = const.MOONSHOT
if model_type in [const.MODELSCOPE]:
self.btype["chat"] = const.MODELSCOPE