DamonBao/dsh-models-input-modalities ↗★ 1
@jcy2387/dsh-models-input-modalities
在模型设置页为第三方服务商配置输入模态 适合需要自定义第三方模型能力、声明推理层级的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DamonBao/dsh-models-input-modalities说明文档
阅读完整 README ↗Usage
- Install (see below) and restart
dsh web. - Settings → Models: create your gateway provider with Add custom provider as usual, or open an existing one.
- A Model capabilities fold appears under every third-party provider card; expand it and, per model, pick its input modalities and its reasoning state — for a model that reasons, choose Declare levels and tick the levels its endpoint serves.
- Click Save. The claim lands in the user layer of
$DSH_HOME/settings.yaml; the adapter picks it up on its next request — no restart required.
A model declared here writes exactly this (other fields of the row untouched):
models:
- id: acme-think
contextWindow: 262144
maxTokens: 32768
input:
- text
- image
reasoningEfforts:
off: null # offered, and sent as no parameter at all
low: low
medium: medium
high: high
max: ultra # a gateway with its own vocabulary