mirror of
https://gitcode.com/JianFeeeee/ModelRouter.git
synced 2026-09-20 00:48:00 +00:00
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:
@ -7,7 +7,7 @@ listen: 127.0.0.1:8080
|
||||
gateway_keys:
|
||||
- sk-gw-local-0001
|
||||
|
||||
# 默认模型选择:具体模型 id 或 AUTO(按各源模型的 priority 自动选最高可用源)
|
||||
# 默认模型选择:具体模型 id 或 AUTO(AUTO 走优先级页保存的 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
|
||||
|
||||
Reference in New Issue
Block a user