DSH Model Completion Assistant: Automatically Loading Full Context and Multi-modality After Saving New Channels

Introduction

When integrating a new relay station or third-party API channel into DeepSeek Harness (DSH), the model list often downloads a dozen or even dozens of entries at once. In the default DSH “Settings → Models” interface, each model still needs to be opened individually: filling in the context window, maximum output tokens, checking for image multimodality, enabling reasoning levels, and adding the max tier. With every one or two new models added to a channel, this process must be repeated. The following introduces the community plugin dsh-model-auto-enricher (DSH Model Auto-Enricher), released by maintainer 66rapper and categorized under model inference. It automatically fills in these fields when saving model configurations and includes a visual management panel.

What is this

DSH Model Auto-Enricher (npm package name dsh-model-auto-enricher, current version 2.0.0, MIT License) is a plugin within the DSH ecosystem, not an official application from DeepSeek / High-Flyer. It monitors the model settings save event in DSH: after you add a channel and model in “Settings → Models” and click “Apply,” the plugin writes the context, maximum output, input modality, and thinking strength levels into the configuration based on built-in rules in the background (the README specifies approximately 0.6 seconds). It then applies the changes via a hot reload, requiring no additional button clicks or DSH restarts.

What manual tasks it eliminates

Consistent with the comparison table in the README, the plugin performs “only upgrade, never downgrade” enrichment for four types of common default values:

Configuration Item Common State after DSH Fetch Plugin Behavior (Summary)
Context contextWindow Blank or stuck at 128k / 200k / 256k Set to maximum based on series, mostly 1,000,000
Max Output maxTokens Blank Commonly 64,000 or 128,000 (e.g., DeepSeek series)
Input Modality input Text only Most models set to [text, image]
Thinking Tier reasoningEfforts Disabled or missing max Enriched with { low, high, max }, preserving existing custom tiers

If a model’s context or output is already greater than the rule target, it will not be reduced; existing off, medium, xhigh, etc., in thinking tiers will be preserved. Before making changes, a timestamped backup is generated in the same directory (filename format cordis.patch.yml.bak-auto-enrich-YYYYMMDD-HHmmss); if all standards are already met, the file is not modified, and no backup is created.

Identification and Rules

The plugin matches series via model ID keywords (e.g., gemini, claude, deepseek, gpt-, kimi, etc.), and the README v2.0 provides a complete rule table. New models or internal code names that do not hit known series will follow the “Generic New Model Rules”: default 1M context, 64k max output, text+image, low/high/max thinking tiers. Specific exceptions are explained in the documentation (e.g., gpt-oss has a 128k context, is text-only, and does not enable thinking tiers; older Claude 2/3 has a context of 200,000, etc.).

Installation and Enabling

DSH adopts an “everything is a plugin” extension approach; the community catalog page is available at SkillHub Plugin Entry, and the source code and instructions are available at the GitHub Repository.

Method 1: Plugin Marketplace

Open DSH Settings → Plugin Marketplace, search for dsh-model-auto-enricher or “Model Auto-Enricher,” and install it.

Method 2: Command Line

For Desktop (desktop profile):

dsh plugin --profile desktop add 66rapper/dsh-model-auto-enricher

For Web (web profile):

dsh plugin --profile web add 66rapper/dsh-model-auto-enricher

The package requires Node.js >= 18. The plugin reads and writes configurations with the permissions of the current DSH process; it is recommended to review the repository source code and license before installation to ensure compliance with your environment policies.

Typical Usage

  1. Install and enable the plugin as described above.
  2. Configure channels, fetch or add models in Settings → Models, and click “Apply” to save.
  3. Wait for the automatic enrichment to complete (no manual triggering required); if verification is needed, open the “Model Auto-Enricher” panel on the left side of settings to view the context, multimodality, thinking tiers, and series tags of channel models. You can also manually trigger one-click enrichment from this panel.

In addition to automatic processing upon saving, the panel supports viewing “Health Status” and details at any time, making it suitable for a comprehensive overview after integrating a large batch of models.

Use Cases and Notes

Target Audience: DSH users and agent developers who frequently switch or stack multiple API channels, have a large number of models, and wish to standardize long contexts, image generation, and thinking tiers.

Points to Note:

  • The automatic values come from a rule table compiled by the maintainer and may differ from the actual limits of the upstream API; if the service provider rate-limits or rejects excessively large contextWindow values, you must still manually lower them in DSH.
  • The plugin patches model-related configurations (via mechanisms like cordis.patch.yml within the package); although timestamped backups are created, own version control or periodic configuration exports are recommended in production environments.
  • The community catalog and GitHub are independent information sources; star counts and versions are subject to the current status of the repository (at the time of writing, the repository shows 1 star).

Conclusion

dsh-model-auto-enricher consolidates “clicking settings for every model after adding a channel” into “enrich upon saving + viewable and enrichable via panel,” focusing on context, max output, multimodality, and low / high / max thinking tiers. For further information, visit the SkillHub Catalog Page and GitHub: 66rapper/dsh-model-auto-enricher.

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

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

Xiaoye