Files
chongming-config/workers/doubao/config.toml
T

23 lines
824 B
TOML
Raw Normal View History

2026-07-22 17:15:16 +08:00
[worker]
name = "doubao"
version = "0.1.0"
description = "火山引擎豆包视觉理解 worker"
config_version = "1.0"
defaults = { method = "POST", timeout = 30.0, auth_required = false }
[worker.registration]
router_prefix = "/doubao"
tags = ["vision", "ai"]
2026-07-27 14:26:48 +08:00
# is_aicc = true 时启用 AICC 安全通信(端云互信),使用 AsyncOpenAI + AsyncSecureHttpClient
# is_aicc = false 时使用标准 Ark SDK(AsyncArk),默认 false
2026-07-31 15:58:34 +08:00
[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"