mirror of
https://gitcode.com/JianFeeeee/ModelRouter.git
synced 2026-09-24 19:08:04 +00:00
feat(delete): real deletes — adapters seeded once into adapter_dir (existing dir is authoritative), sources removed from config.yaml on delete; drop tombstone mechanism for both. Docs: multi-key architecture, gateway_keys as seed
This commit is contained in:
@ -3,7 +3,9 @@
|
||||
# 网关监听地址(默认 :8080,建议绑内网/回环)
|
||||
listen: 127.0.0.1:8080
|
||||
|
||||
# 客户端访问本网关所需的 API Key(Bearer)。留空数组 = 不鉴权(仅内网)。
|
||||
# 网关自身鉴权密钥。现在为「多密钥」架构:此项仅作为初始 admin 密钥种子,
|
||||
# 首次启动写入运行时存储(runtime_file 的 keys 字段,加密存储)。之后请在
|
||||
# WebUI「密钥」页创建、删除密钥并配置其模型范围。留空 = 首启无 admin 密钥。
|
||||
gateway_keys:
|
||||
- sk-gw-local-0001
|
||||
|
||||
|
||||
Reference in New Issue
Block a user