Introduction to the dsh-model-capability Plugin

DeepSeek Harness (DSH) utilizes a plugin architecture, but native configuration typically requires manually editing ~/.dsh/settings.yaml. This method is not only cumbersome but also risky: in-memory state might overwrite the configuration upon a DSH restart, resulting in the loss of manually modified fields. The dsh-model-capability plugin aims to resolve this issue by managing model capabilities directly through a user interface.

This is a client plugin maintained by iuuuuuuuu. Its core functionality is to add configuration entries for every model of each provider within the DSH “Settings → Models” page, supporting direct configuration of vision capabilities, reasoning levels, and context capacity.

Core Features

  • Per-model configuration: Expand the “Model Capabilities” section within each provider card on the “Settings → Models” page to configure individual models.
  • Automatic capacity formatting: Supports shorthand inputs such as 8k and 1m. The system automatically converts them to integer token counts for storage (1m = 1000000) and displays them in K/M format on the interface, ensuring no loss of precision.
  • Reasoning level support: Supports configuration of reasoningEfforts for off, low, medium, and high levels.
  • Official channel writing: Configurations are written directly to the official settings channel and take effect immediately upon saving, without requiring a DSH restart.
  • Automatic backup mechanism: The plugin automatically backs up the last 12 configurations, preventing the inability to roll back in case comments are lost due to whole-array YAML writes.

Installation

Execute the following command to install the plugin:

dsh plugin --profile desktop add "git+https://github.com/iuuuuuuuu/dsh-model-capability.git"

Typical Usage

After installation, refresh the DSH page to view the newly added configuration options in the settings.

  1. Vision Models: Check the “Vision” checkbox in the provider card to set the model’s input field to [text, image] or [text].
  2. Reasoning Models: Check the “Reasoning Model” checkbox, then expand “Thinking Level” to select off, low, medium, or high.
  3. Capacity Settings: Enter the capacity value in the “Input” or “Output” field. Entering 1m automatically converts to 1000000, and entering 800K is parsed as 800000.
  4. Save: Configuration changes accumulate in a draft. Clicking the save button writes them to the configuration file.

Notes

  • Loss of array comments: Since DSH replaces arrays as a whole, modifying the models array will result in the loss of original comments within the array. Please rely on the plugin’s automatic backup feature for recovery.
  • Capacity base: The capacity vocabulary uses a decimal base (1k = 1000), not a binary (1024) base.
  • Level configuration details: When the reasoning model checkbox is unchecked, reasoningEfforts is written as false; the off level must be left empty, while other levels require the corresponding string spelling (e.g., low, medium).

By providing an intuitive UI, this plugin solves the issues of difficult editing and the high risk of data loss associated with DSH’s native configuration. It is ideal for users requiring fine-grained control over model capabilities.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye