modify doubao 配置文件切换

This commit is contained in:
2026-08-03 15:57:29 +08:00
parent 41acfb4b2b
commit 17a94cfc37
2 changed files with 8 additions and 17 deletions
+1 -10
View File
@@ -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