feat: optimize whitelist for model providers

feat/2p
开坦克的贝塔 2 years ago
parent 87a4776272
commit c106a896a5

@ -203,7 +203,7 @@ 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",
"siliconflow", "tongyi", "volcengine_maas", "tongyi", "volcengine_maas",
"wenxin", "xinference", "yi", "zhipuai" "wenxin", "xinference", "yi", "zhipuai"
] ]
model_provider_dir_paths = [ model_provider_dir_paths = [

Loading…
Cancel
Save