modify: 更新目录结构
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
# ====== 插件注册信息(控制加载方式) ======
|
||||
[workers]
|
||||
type = "doubao"
|
||||
module = "plugins.doubao"
|
||||
factory = "create_workers"
|
||||
cleanup = "cleanup"
|
||||
count = 3
|
||||
|
||||
[worker]
|
||||
name = "doubao"
|
||||
version = "0.1.0"
|
||||
@@ -10,4 +18,21 @@ router_prefix = "/doubao"
|
||||
tags = ["vision", "ai"]
|
||||
|
||||
# is_aicc = true 时启用 AICC 安全通信(端云互信),使用 AsyncOpenAI + AsyncSecureHttpClient
|
||||
# is_aicc = false 时使用标准 Ark SDK(AsyncArk),默认 false
|
||||
# is_aicc = false 时使用标准 Ark SDK(AsyncArk),默认 false
|
||||
|
||||
# ====== Worker 运行时配置(由 lifespan_setup 传递给 create_workers) ======
|
||||
[workers.config]
|
||||
api_key = "ark-b149df84-a057-4ca0-b1a0-82a22c4e3c70-33cde"
|
||||
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"
|
||||
# ra_url = "" # 远程证明地址(独立于 base_url 时配置)
|
||||
# ra_service_name = "AICC.ConfidentialInference"
|
||||
# ra_policy_id = "router_policy"
|
||||
# ak = "" # 火山引擎 AK(TOP 网关鉴权模式)
|
||||
# sk = "" # 火山引擎 SK(TOP 网关鉴权模式)
|
||||
|
||||
Reference in New Issue
Block a user