modify: 凭据环境变量化(VOLC_ACCESSKEY / AIBOX_MQTT_URI),移除硬编码密钥
This commit is contained in:
@@ -22,15 +22,16 @@ tags = ["vision", "ai"]
|
||||
|
||||
# ====== Worker 运行时配置(由 lifespan_setup 传递给 create_workers) ======
|
||||
[workers.config]
|
||||
api_key = "ark-b149df84-a057-4ca0-b1a0-82a22c4e3c70-32cde"
|
||||
# api_key 请勿提交到仓库:留空时从环境变量 VOLC_ACCESSKEY 读取(代码中兜底)
|
||||
api_key = ""
|
||||
base_url = "https://ark.cn-beijing.volces.com/api/v3"
|
||||
model = "doubao-seed-evolving"
|
||||
|
||||
# AICC 模式专用配置(按需启用):
|
||||
# is_aicc = true
|
||||
# api_key = "db04d42e-71e3-4119-abee-12ecc7ef5c34"
|
||||
# base_url = "https://sd77a0f4ummt3i4vnems0.apigateway-cn-beijing.volceapi.com/api/v3"
|
||||
# model = "ep-20260721154333-fre3bey"
|
||||
# api_key = "" # AICC 模式的 api_key 同样经 VOLC_ACCESSKEY 提供,勿入库
|
||||
# base_url = "https://<gateway-host>/api/v3"
|
||||
# model = "ep-xxx"
|
||||
# ra_url = "" # 远程证明地址(独立于 base_url 时配置)
|
||||
# ra_service_name = "AICC.ConfidentialInference"
|
||||
# ra_policy_id = "router_policy"
|
||||
|
||||
Reference in New Issue
Block a user