From 96008f1f3dd39817e2f819af6b0f687086b736e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=80=E5=9D=A6=E5=85=8B=E7=9A=84=E8=B4=9D=E5=A1=94?= Date: Thu, 27 Jun 2024 17:49:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=99=BD=E5=90=8D=E5=8D=95=E4=B8=AD?= =?UTF-8?q?=E5=8E=BB=E9=99=A4=20maas=20=E5=B9=B3=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../model_runtime/model_providers/model_provider_factory.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/core/model_runtime/model_providers/model_provider_factory.py b/api/core/model_runtime/model_providers/model_provider_factory.py index ca4478b69f..fcfa679a32 100644 --- a/api/core/model_runtime/model_providers/model_provider_factory.py +++ b/api/core/model_runtime/model_providers/model_provider_factory.py @@ -203,8 +203,8 @@ class ModelProviderFactory: # get all folders path under model_providers_path that do not start with __ whitelist = [ "baichuan", "chatglm", "deepseek", "hunyuan", "minimax", "moonshot", - "tongyi", "volcengine_maas", - "wenxin", "xinference", "yi", "zhipuai" + "tongyi", + "wenxin", "yi", "zhipuai" ] model_provider_dir_paths = [ os.path.join(model_providers_path, model_provider_dir)