feat: 白名单中去除 maas 平台

This commit is contained in:
开坦克的贝塔 2024-06-27 17:49:43 +08:00
parent c106a896a5
commit 96008f1f3d

View File

@ -203,8 +203,8 @@ class ModelProviderFactory:
# get all folders path under model_providers_path that do not start with __ # get all folders path under model_providers_path that do not start with __
whitelist = [ whitelist = [
"baichuan", "chatglm", "deepseek", "hunyuan", "minimax", "moonshot", "baichuan", "chatglm", "deepseek", "hunyuan", "minimax", "moonshot",
"tongyi", "volcengine_maas", "tongyi",
"wenxin", "xinference", "yi", "zhipuai" "wenxin", "yi", "zhipuai"
] ]
model_provider_dir_paths = [ model_provider_dir_paths = [
os.path.join(model_providers_path, model_provider_dir) os.path.join(model_providers_path, model_provider_dir)