dsh-model-kit: DSH Model Parameter Completion, Import, and Pricing Editing

Preface

When configuring models in DeepSeek Harness (DSH), a common scenario is: the provider and model ID are already filled in, but fields such as display name, context window, output limit, image input support, and reasoning tier still need manual documentation lookup; if pricing is maintained in USD or CNY, it must also be aligned with external reference catalogs. While the community already has standalone plugins for Models.dev or pricing, dsh-model-kit consolidates “querying parameters, previewing conflicts, writing prices, pulling lists from upstream, and overriding built-in models” into a single interface under Settings → Model Info Assistant, writing to the current profile via DSH’s official Settings API rather than directly modifying the legacy settings.yaml.

The following describes the plugin’s positioning, capabilities, and installation usage; facts are based on the GitHub repository README.

What Is This

dsh-model-kit (npm package name dsh-model-kit), maintained by PerseusNana7mi, is categorized under model inference related capabilities: it provides a model info assistant in DSH Desktop 0.2.x (starting from 0.2.0-rc.2). In one sentence: Query model parameters and reference prices, verify them, and save to DSH.

Model parameters default to Models.dev; prices can be Models.dev (USD) or basellm (native USD / CNY). Missing prices remain unknown, explicit zero prices are preserved, and the plugin does not auto-convert currencies. Catalog page: SkillHub Plugin Entry.

Core Features

The capability table in the README can be summarized into the following categories (only items explicitly stated in the documentation are listed):

  1. Model Information Completion: Fetch display name, context window, output limit, text/image input modalities, and identifiable reasoning tiers from Models.dev.
  2. Preview and Compare: Automatically recommend draft entries first; compare candidate sources, choose between conflicting fields, and undo the current parameter entry.
  3. Custom Pricing: Edit input, output, cache read, and cache write unit prices; support USD / CNY, and “reference price × multiplier”.
  4. Remember Reference Sources: Save confirmed price sources by target model, data source, and currency, supporting aliases, replacements, and clearing; can actively fetch latest reference quotes next time.
  5. Upstream Model Import: Obtain model lists via DSH-configured providers, select and preview, then append new models.
  6. Built-in Model Override: Override inherited catalog model parameters by field, and also restore upper-layer inheritance.
  7. Search and Refresh: Search by provider, model name, or ID; auto-refresh when host list changes, preserving drafts if targets still exist.
  8. Batch Verification and Saving: Select up to 100 configured models, share the latest catalog, verify field-by-field, and save; multipliers are confirmed per entire reference snapshot, with separate reports for parameter and price save results.

For matching and pricing details, see Recommendation Rules and Pricing Notes in the repository.

Installation and Activation

The plugin has been published to npm: dsh-model-kit. Install using the DSH CLI matching the desktop version (commands from README, do not construct your own GitHub installation string):

dsh plugin --profile desktop add dsh-model-kit

If using a standalone Web profile, change desktop to web in the command. After installation, fully exit and reopen Desktop from the tray, and confirm the page appears under Settings → Model Info Assistant. Simply running npm install dsh-model-kit will not mount the plugin to the DSH profile.

For offline installation, you can select a locally prebuilt .tgz package in the Desktop plugin management interface. Packaging from source requires Node.js ≥ 22.19:

npm ci
npm pack

npm pack builds first; do not install unbuilt source directly as a plugin.

The project uses the MIT License. The plugin runs with current DSH process permissions; you can view source code and third-party declarations (THIRD_PARTY_NOTICES.md) on GitHub before installation.

Typical Usage

Quick start flow (consistent with README):

  1. Add provider, protocol, API address, and credentials in DSH’s native model settings.
  2. Open Settings → Model Info Assistant, select provider and model in sequence.
  3. Click Fill Model Info, verify the parameter draft; expand Advanced Comparison when there are discrepancies.
  4. Expand Edit Price when setting prices is needed, select currency, data source, and pricing mode.
  5. Click Save, view results. Expand More Model Actions when adding new models or modifying built-in models.

Saving is completed via DSH’s official Settings API; if the configuration has been modified by other operations, stale version writes will be rejected, requiring re-reading before editing. Model parameters and prices are written to the current profile’s cordis.patch.yml.

Use Cases and Notes

Who it’s for: Developers already maintaining multiple providers and models in DSH 0.2.x desktop (or corresponding Web profile), wanting to align parameters and unit prices with Models.dev / basellm, and needing to import from upstream lists or batch verify and save.

Recommended to understand before use (README “Understand Before Use” summary):

  • Explicitly saving maxTokens sets a default output limit per request; max output affects request behavior.
  • Existing names, capacities, and specific reasoning tiers are typically preserved; image capabilities and false/empty reasoning tiers can be reliably recommended and added to drafts.
  • Reasoning support is partially recognized: when only thinking toggle or budget information is available, no tier is inferred; manual first-time enablement defaults to medium, which does not mean the interface has been verified to support it.
  • The interface displays unit prices, not session bills; prices are stored in plugin configuration, currently not calculating session costs, nor integrated with DSH’s native cost statistics; complex billing is not automatically compressed into fixed prices.
  • Changing currency replaces the model’s original currency price, does not preserve two sets simultaneously, and does not perform exchange rate conversion.

Data and Privacy: No automatic networking or automatic model rewriting on startup; catalogs are queried on the host side as needed; upstream discovery uses existing credentials via DSH’s official services, and the plugin does not return API keys to the frontend nor send them to reference catalogs.

Full functionality for other host versions requires separate verification; see the repository’s Compatibility Strategy. More complete documentation is available in editor.md.

Conclusion

dsh-model-kit centralizes model catalog queries, conflict previews, USD/CNY pricing editing, upstream imports, and batch saves into the “Model Info Assistant” within DSH settings, making it suitable for systematically maintaining model metadata and reference unit prices on 0.2.x. This community plugin catalog has no official affiliation with DeepSeek / High-Flyer; please verify versions and licenses yourself before installation and use.

  • Catalog page: https://www.skillhub.cn/plugins/PerseusNana7mi/dsh-model-kit
  • GitHub: https://github.com/PerseusNana7mi/dsh-model-kit
羽毛球分组比赛记分
小程序二维码

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

Xiaoye