From 17a94cfc37380c61d0806a4ddb08cbedd210cc82 Mon Sep 17 00:00:00 2001 From: chakcy <947105045@qq.com> Date: Mon, 3 Aug 2026 15:57:29 +0800 Subject: [PATCH] =?UTF-8?q?modify=20doubao=20=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- workers/config.toml | 14 +++++++------- workers/doubao/config.toml | 11 +---------- 2 files changed, 8 insertions(+), 17 deletions(-) diff --git a/workers/config.toml b/workers/config.toml index 972d9f6..7e36454 100644 --- a/workers/config.toml +++ b/workers/config.toml @@ -18,15 +18,15 @@ count = 3 [workers.config] type = "doubao" -is_aicc = true # 是否启用 AICC 安全通信模式(端云互信) -# api_key = "ark-b149df84-a057-4ca0-b1a0-82a22c4e3c70-33cde" -# base_url = "https://ark.cn-beijing.volces.com/api/v3" -# model = "doubao-seed-evolving" +# is_aicc = true # 是否启用 AICC 安全通信模式(端云互信) +api_key = "ark-b149df84-a057-4ca0-b1a0-82a22c4e3c70-33cde" +base_url = "https://ark.cn-beijing.volces.com/api/v3" +model = "doubao-seed-evolving" # AICC 模式下 base_url 使用 APIGateway 地址,如: -api_key = "db04d42e-71e3-4119-abee-12ecc7ef5c34" -base_url = "https://sd77a0f4ummt3i4vnems0.apigateway-cn-beijing.volceapi.com/api/v3" -model = "ep-20260721154333-fre3bey" +# api_key = "db04d42e-71e3-4119-abee-12ecc7ef5c34" +# base_url = "https://sd77a0f4ummt3i4vnems0.apigateway-cn-beijing.volceapi.com/api/v3" +# model = "ep-20260721154333-fre3bey" [[workers]] type = "auth" diff --git a/workers/doubao/config.toml b/workers/doubao/config.toml index 534aab5..a9b4481 100644 --- a/workers/doubao/config.toml +++ b/workers/doubao/config.toml @@ -10,13 +10,4 @@ router_prefix = "/doubao" tags = ["vision", "ai"] # is_aicc = true 时启用 AICC 安全通信(端云互信),使用 AsyncOpenAI + AsyncSecureHttpClient -# is_aicc = false 时使用标准 Ark SDK(AsyncArk),默认 false - -[workers.config] -type = "doubao" -is_aicc = true # ← 开启 AICC 模式 - -# AICC 模式专用参数(与普通 Ark 模式不同) -api_key = "db04d42e-71e3-4119-abee-12ecc7ef5c34" # AICC 鉴权 token -base_url = "https://sd77a0f4ummt3i4vnems0.apigateway-cn-beijing.volceapi.com/api/v3" # APIGateway 地址 -model = "ep-20260721154333-fre3bey" +# is_aicc = false 时使用标准 Ark SDK(AsyncArk),默认 false