feat: optimize whitelist for model providers

This commit is contained in:
开坦克的贝塔 2024-06-21 10:56:20 +08:00
parent 87a4776272
commit c106a896a5

View File

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