From 029f290c1ba3af63e7b73e53faba63c11125e4f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=AD=90=E9=BB=98?= <925456043@qq.com> Date: Sun, 5 Apr 2026 12:04:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E7=A1=85=E5=9F=BA?= =?UTF-8?q?=E6=B5=81=E5=8A=A8=E4=BE=9B=E5=BA=94=E5=95=86=E6=A0=87=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将错误的 siliconlow 标识统一更正为 siliconflow - 对齐后端网关、品牌配置和管理端模型列表 --- .../tech/easyflow/ai/invoke/provider/openai/OpenAiGateway.java | 2 +- .../easyflow-starter-all/src/main/resources/ai-brands.json | 2 +- .../app/src/views/ai/model/modelUtils/providerList.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/easyflow-modules/easyflow-module-ai/src/main/java/tech/easyflow/ai/invoke/provider/openai/OpenAiGateway.java b/easyflow-modules/easyflow-module-ai/src/main/java/tech/easyflow/ai/invoke/provider/openai/OpenAiGateway.java index a420ad4..8f24092 100644 --- a/easyflow-modules/easyflow-module-ai/src/main/java/tech/easyflow/ai/invoke/provider/openai/OpenAiGateway.java +++ b/easyflow-modules/easyflow-module-ai/src/main/java/tech/easyflow/ai/invoke/provider/openai/OpenAiGateway.java @@ -26,7 +26,7 @@ public class OpenAiGateway extends AbstractOpenAiCompatibleGateway implements Mo "zhipu", "minimax", "kimi", - "siliconlow", + "siliconflow", "ollama", "self-hosted" ); diff --git a/easyflow-starter/easyflow-starter-all/src/main/resources/ai-brands.json b/easyflow-starter/easyflow-starter-all/src/main/resources/ai-brands.json index 24d721b..f817e04 100644 --- a/easyflow-starter/easyflow-starter-all/src/main/resources/ai-brands.json +++ b/easyflow-starter/easyflow-starter-all/src/main/resources/ai-brands.json @@ -442,7 +442,7 @@ }, { "title": "硅基流动", - "key": "siliconlow", + "key": "siliconflow", "options":{ "llmEndpoint":"https://api.siliconflow.cn", "chatPath":"/v1/chat/completions", diff --git a/easyflow-ui-admin/app/src/views/ai/model/modelUtils/providerList.json b/easyflow-ui-admin/app/src/views/ai/model/modelUtils/providerList.json index 90fe18a..006b655 100644 --- a/easyflow-ui-admin/app/src/views/ai/model/modelUtils/providerList.json +++ b/easyflow-ui-admin/app/src/views/ai/model/modelUtils/providerList.json @@ -193,7 +193,7 @@ }, { "label": "硅基流动", - "value": "siliconlow", + "value": "siliconflow", "description": "聚合多家开源模型能力,适合快速接入主流开源生态。", "tags": ["开源模型", "聚合平台", "Embeddings"], "mode": "hosted",