mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 03:32:23 +08:00
feat: 白名单中去除 maas 平台
This commit is contained in:
parent
c106a896a5
commit
96008f1f3d
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user