- Home
- Plugin
- Modelli e provider
- dsh-model-priority
M
dsh-model-priority
mengge237/dsh-model-priority
Reorder your own models: drag inside a provider card on the Models settings page, or use the Model order section when another plugin already occupies that card. The order is written through the host settings service with a revision check, so the settings page and the model picker stay in sync. The settings left nav can be reordered by drag as well.
Installazione
dsh plugin --profile web add github:mengge237/dsh-model-priorityREADME
dsh-model-priority
模型顺序 + 原生列表排序。
- 模型顺序:拖动某个提供方内部的模型;写入走官方 settings(
describe+mutate+ revision),一次拖动 = 一个insertBeforemove。 - 入口是兼容的:
settings.models.provider-card的llm-pi-ai格空闲时直接挂卡片格(和 DeepSeek 卡片同一位置、同款样式);被别的插件(如 web-all「模型能力」)占住时才退回原生设置分区「模型顺序」。 - 设置左导航:可拖拽排序,顺序存
~/.dsh/ui-order.json(GET/PUT /dsh-model-priority/ui-order.json),刷新后保持。
安装
dsh plugin --profile web add github:mengge237/dsh-model-priority
本地开发用 dsh plugin --profile web add link:/path/to/dsh-model-priority,装完重启一次 dsh web。
契约
- 模型顺序只改 settings 里
providers.<route>.models的顺序;没有ctx.settings时返回 503,不写文件。 - 左导航顺序是纯展示数据,不碰宿主配置;key 是导航行标签文本。
- 设置分区用原生
settings.section(idmodel-priority,order 55)。
扩展
lib/lists.js:registerList({ id, read, write })。新增可排序列表 = 注册适配器,move 路由与前端拖动复用。
测试
npm test(不启动宿主)。
Plugin correlati
E
dsh-our-free-model
ebony-vinyl/dsh-our-free-model
41.2k18 ore faModelli e providerMIT
Y
dsh-routing-suite
yjh051108/dsh-routing-suite
7kmese scorsoModelli e providerMIT
C
dsh-workbuddy-connect
corrinehu/dsh-workbuddy-connect
1.2k7 giorni faModelli e providerMIT
D
dsh-connect-workbuddy
dingminhua/dsh-connect-workbuddy
5555 ore faModelli e providerMIT