fix: "model":"mooshoot", which defaults to "moonshot-v1-32k".

This commit is contained in:
6vision
2024-08-31 16:09:10 +08:00
parent 469524e8ae
commit f6e6805453
2 changed files with 5 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ class Bridge(object):
if model_type in ["claude"]:
self.btype["chat"] = const.CLAUDEAI
if model_type in ["moonshot-v1-8k", "moonshot-v1-32k", "moonshot-v1-128k"]:
if model_type in [const.MOONSHOT, "moonshot-v1-8k", "moonshot-v1-32k", "moonshot-v1-128k"]:
self.btype["chat"] = const.MOONSHOT
if model_type in ["abab6.5-chat"]: