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

@jcy2387/dsh-models-input-modalities

DeepSeek Harness Web plugin: per-model input-modality selector on the Models settings page for third-party (pi-ai) providers 适合需要自定义第三方模型能力、声明推理层级的用户。

パッケージ
@jcy2387/dsh-models-input-modalities
互換性
未検証
Harness ピア範囲
>=0.1.5-alpha.1 <0.2.0
Cordis ピア範囲
^4.0.2
バージョン
0.1.2
ライセンス
MIT
最終更新
2026/09/10

インストール

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

ドキュメント

README 全文を読む ↗

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