Files
chongming-config/workers/doubao/config.toml
T
2026-07-31 15:58:34 +08:00

23 lines
824 B
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[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"]
# 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"