From b2034c08650e5f8072f45e40b595d2366087c933 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=BB=BA=E6=AD=A6?= Date: Mon, 12 May 2025 09:05:53 +0800 Subject: [PATCH] =?UTF-8?q?feat(db):=20=E6=9B=B4=E6=96=B0=E5=86=85?= =?UTF-8?q?=E7=BD=AE=20AI=20=E6=9C=8D=E5=8A=A1=E6=8F=90=E4=BE=9B=E5=95=86?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除Doubao 服务商配置- 添加 Gemini 服务商配置 - 更新 Claude 服务商的 base_url --- backend/app/db/builtin_providers.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/backend/app/db/builtin_providers.json b/backend/app/db/builtin_providers.json index d25fd47..ac6b099 100644 --- a/backend/app/db/builtin_providers.json +++ b/backend/app/db/builtin_providers.json @@ -21,15 +21,7 @@ "type": "built-in", "logo": "Qwen", "api_key": "", - "base_url": "https://qwen.aliyun.com/api" - }, - { - "id": "doubao", - "name": "豆包 (Doubao)", - "type": "built-in", - "logo": "Doubao", - "api_key": "", - "base_url": "https://open.doubao.com/api" + "base_url": "https://dashscope.aliyuncs.com/compatible-mode/v1" }, { "id": "Claude", @@ -38,5 +30,13 @@ "logo": "Claude", "api_key": "", "base_url": "https://" + }, + { + "id": "gemini", + "name": "Gemini", + "type": "built-in", + "logo": "Gemini", + "api_key": "", + "base_url": "https://generativelanguage.googleapis.com/v1beta/openai/" } ]