Bundle
dsh-model-capabilities
Per-model reasoning-effort and vision capability editor for DSH pi-ai provider profiles.
- Source
- Kalospacer
- stars
- 1 stars
- License
- MIT
- Updated
- Updated 2 days ago
Readme
# dsh-model-capabilities 给 DSH 的设置里加一页:**模型能力**。 解决一件事:你接的自定义模型,DSH 不认它的思考档位和视觉能力。 ## 为什么需要它 DSH 的推理强度滑块和传图判断,靠的是模型自己报上来的能力。网关模型、手工加的模型经常不报,于是: - 滑块弹 "当前模型未提供可选择的思考档位" - 发图被拒,"Model ... does not support image input" 以前这两个只能手改 `settings.yaml`。这页把它们做成表单。 ## 怎么用 1. 安装,重启 DSH Web Host。 2. 打开 **设置 → 模型能力**。 3. 每个模型下面填两件事,点保存。 ```powershell dsh plugin --profile web add <本仓库> ``` ## 两个设置是什么 - **思考档位**:继承默认 / 不支持推理 / 自定义。自定义就是勾选这个模型支持哪些档,`off` 到 `max` 一共七档,每档还能填网关真正认识的名字,比如网关把 `max` 叫 `ultra`。 - **视觉能力**:继承默认 / 支持视觉 / 仅文本。支持视觉就是告诉 DSH 这个模型能收图。 保存之后,推理强度滑块和传图判断立刻按新配置走。 ## 它不乱改你已有的配置 - 手工声明的路由,直接改它自己的 `models` 列表,其他字段不动。 - 官方 / catalog 路由,只写 `modelOverrides` 覆盖单个模型,不会把整个模型目录替换掉。 - 写入带版本检查,两个窗口同时改会提示冲突,不会互相覆盖。 ## 注意 - 只对 `llm-pi-ai` 的配置路由生效。 - 改的是 DSH 自己的 `llm-pi-ai` 配置,不是插件私有存储,卸载插件后配置还在。 ## 开发 ```powershell pnpm install pnpm run check ``` MIT
Install
dsh plugin --profile web add github:Kalospacer/dsh-model-capabilities
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install dsh-model-capabilities from the hub
- This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.
- This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.