modify: 更新目录结构

This commit is contained in:
2026-08-03 16:56:10 +08:00
parent 17a94cfc37
commit 92e367d24f
5 changed files with 80 additions and 58 deletions
+13 -50
View File
@@ -1,50 +1,13 @@
[[workers]]
type = "example"
module = "plugins.example"
factory = "create_workers"
cleanup = "cleanup"
count = 3
[workers.config]
type = "example"
data_dir = "./data"
[[workers]]
type = "doubao"
module = "plugins.doubao"
factory = "create_workers"
cleanup = "cleanup"
count = 3
[workers.config]
type = "doubao"
# is_aicc = true # 是否启用 AICC 安全通信模式(端云互信)
api_key = "ark-b149df84-a057-4ca0-b1a0-82a22c4e3c70-33cde"
base_url = "https://ark.cn-beijing.volces.com/api/v3"
model = "doubao-seed-evolving"
# AICC 模式下 base_url 使用 APIGateway 地址,如:
# api_key = "db04d42e-71e3-4119-abee-12ecc7ef5c34"
# base_url = "https://sd77a0f4ummt3i4vnems0.apigateway-cn-beijing.volceapi.com/api/v3"
# model = "ep-20260721154333-fre3bey"
[[workers]]
type = "auth"
module = "plugins.auth"
factory = "create_workers"
cleanup = "cleanup"
count = 3
[workers.config]
type = "auth"
[[workers]]
type = "aibox_sophon_adapter"
module = "plugins.aibox_sophon_adapter"
factory = "create_workers"
cleanup = "cleanup"
count = 1
[workers.config]
type = "aibox_sophon_adapter"
data_dir = "./data"
# 插件注册配置文件(旧版兼容)
#
# 新架构:框架自动扫描 config/workers/*/config.toml,
# 从各插件的 [workers] 节读取注册信息。
# 此文件仅作为旧版兼容保留,可留空或删除。
#
# 若需在此文件中显式声明插件(兼容旧行为),格式如下:
# [[workers]]
# type = "example"
# module = "plugins.example"
# factory = "create_workers"
# cleanup = "cleanup"
# count = 3