fix(ui): clipboard fallback for non-secure contexts; touch-friendly delete button on key scope blocks; append named model after AUTO when adding (+ docs sync: encrypted storage, AUTO chain, live probing, image endpoint)

This commit is contained in:
root
2026-08-10 11:10:59 +08:00
parent 62c8a07b88
commit e2dd4d9727
4 changed files with 163 additions and 35 deletions

View File

@ -7,7 +7,7 @@ listen: 127.0.0.1:8080
gateway_keys:
- sk-gw-local-0001
# 默认模型选择:具体模型 id 或 AUTO按各源模型的 priority 自动选最高可用源
# 默认模型选择:具体模型 id 或 AUTOAUTO 走优先级页保存的 AUTO 链
default_model: AUTO
# Lua 适配器目录(默认 adapters/,首次启动自动写入内置适配器)
@ -24,12 +24,12 @@ max_concurrent: 0
sources:
- name: deepseek
base_url: https://api.deepseek.com
api_key: sk-your-deepseek-key
api_key: sk-your-deepseek-key # 或用 api_key_env: SOME_ENV 引用环境变量
adapter: deepseek
max_concurrent: 8
models:
- id: deepseek-v4-flash
priority: 100 # 数字越大越优先被 AUTO 选中
priority: 100 # YAML 源首次启动 seed 进 AUTO 链的初值
kind: chat
- id: deepseek-reasoner
priority: 60