DamonBao/dsh-models-input-modalities ↗★ 1

@jcy2387/dsh-models-input-modalities

在模型设置页为第三方服务商配置输入模态 适合需要自定义第三方模型能力、声明推理层级的用户。

包名
@jcy2387/dsh-models-input-modalities
兼容性
待验证
Harness 依赖范围
>=0.1.5-alpha.1 <0.2.0
Cordis 依赖范围
^4.0.2
版本
0.1.2
许可证
MIT
最近更新
2026年9月10日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DamonBao/dsh-models-input-modalities

Usage

  1. Install (see below) and restart dsh web.
  2. Settings → Models: create your gateway provider with Add custom provider as usual, or open an existing one.
  3. 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.
  4. 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