DeepSeek Harness (DSH) stores provider configuration in the llm-pi-ai.providers entry of the active profile. Manually editing these configurations is error-prone and especially cumbersome when handling gateway compatibility (such as Developer Role or Reasoning Effort) and complex reasoning level settings. yuioi666/dsh-plugin-model-capability aims to provide visual configuration management for DSH Web through a dedicated model capability page.

Core Features

  • Model Capability Management: Manage model capabilities for each route, including thinking level (off / minimal / low / medium / high / xhigh / max), context window, output limits, and input modalities.
  • Gateway Compatibility Editing: Supports editing gateway compatibility fields, such as Developer Role and Reasoning Effort.
  • Route Default Editing: Supports editing default values at the route level.
  • One-Click Presets: Provides 7 built-in presets and custom preset functionality.
  • models.dev Synchronization: Supports synchronization and mapping of the models.dev catalog.
  • Diagnostic Checks: Provides diagnostic check functionality.
  • Interface Switching: Supports switching between Chinese and English interfaces.

Installation and Activation

The documentation does not provide specific installation commands. The plugin is maintained by yuioi666 and is released under the MIT license. Users need to obtain the plugin through official channels and activate it following DSH’s standard process.

Typical Usage

  1. Catalog Synchronization: Click the “Load catalog” button to load the models.dev catalog from the cache or the fetch API.
  2. Apply Presets: Use one-click presets such as “Safe gateway” when quick configuration is needed.
  3. Save Configuration: Save the current configuration as a custom preset.
  4. Edit Parameters: Toggle reasoning on/off and among the 7 thinking levels, or edit gateway compatibility fields.

Important Notes

  • Preset Replacement Mechanism: Applying a custom preset completely replaces the llm-pi-ai user configuration, and routes added after the preset is saved will be deleted.
  • Header Credential Protection: Credential-style header names (such as authorization) are blocked in the editor.
  • Empty Configuration Restrictions: Empty non-off thinking level configurations are blocked (host rejected).
  • Configuration Storage: DSH stores provider configuration in the llm-pi-ai.providers entry of the active profile.

Summary

This plugin simplifies model capability management in DSH Web through a graphical interface, especially for gateway compatibility and reasoning level configuration. For developers who need fine-grained control over model behavior or work with multiple gateway protocols, it provides a practical toolset. For more details, visit the GitHub repository.