dsh-model-provider-info: Display Provider Name at DSH Model Position

Preface

The DeepSeek Harness (DSH) composer names the current model in three places: the trigger title, the root menu’s current value, and each option row. By default, only the model name from the catalog is rendered, which can easily cause confusion when two providers offer models with the same name. The dsh-model-provider-info plugin injects content into the conversation.input.model.label inline slot so that the trigger displays as DeepSeek Account · DeepSeek-V4.1-Flash instead of just the model name, while keeping “Reasoning Intensity” as a separate label.

Plugin Overview

This is a client-side plugin maintained by yanxijian, categorized as “Client.” It does not alter model selection logic; it solely annotates the composer’s model slot with the provider name and adds visual distinction for third-party routes.

Core Features

Provider Name Injection

The plugin writes content into the conversation.input.model.label slot so that the composer’s model slot displays as “Provider · Model name.” Example: DeepSeek Account · DeepSeek-V4.1-Flash.

Distinguishing First-Party vs. Third-Party

Internally, DSH treats deepseek-account and deepseek-official as first-party, and everything else as third-party. The plugin adjusts visual styling based on this classification:

  • Trigger title: first-party uses plain text; third-party uses a bordered color chip (default #F61A43, 12px, font weight 600, 1px border, radius xs, transparent fill).
  • Root menu current value: same as the trigger title.
  • Expanded list rows: first-party uses plain text; third-party uses a muted style (--dsw-alias-label-secondary, font weight 500, no color, no border).

List rows use a muted style because each row is already grouped by provider, and repeating color chips would create visual redundancy.

Color Configuration

Each provider card has a color icon at the bottom. Clicking it lets you specify that provider’s color; the icon displays the current color (a thicker border if a color is set, otherwise the default). The bottom card allows setting a global default color (default #F61A43).

Bottom card options:

  • Default colour: the default color, specified via the icon, used for providers without a custom color.
  • Colour the list rows too: whether to also apply the color-chip style to expanded list rows.
  • Show the provider on DeepSeek routes: whether to display the provider name on DeepSeek’s own routes (enabled by default; when disabled, only the model name is shown).

Configuration is stored in the browser’s localStorage under the key dsh-model-provider-info/settings/v1.

Installation & Activation

Run the following in a terminal:

dsh plugin --profile <profile> add dsh-model-provider-info

Desktop users can install it via “Plugins → Add plugin” in DSH Desktop. The command defaults to profiles/web, and the configuration takes effect immediately after installation.

Use Cases

  • You use models from multiple providers and need to quickly identify which provider the current model belongs to in the composer.
  • You want to add visual weight to third-party routes to avoid accidentally selecting a same-named model.
  • You want to see both the provider name and the model name in the model slot to navigate complex route lists.

Caveats

  • The plugin is display-only; it does not participate in selection, search, focus, check marks, the /model command popup, or the trigger’s accessible name.
  • Configuration is browser-level (localStorage); switching browsers or clearing cache will reset preferences.
  • The plugin requires DSH version >= 0.2.1, has no build step or runtime dependencies, and upgrading DSH will not automatically remove it.

Ecosystem Context

DeepSeek Harness follows a “everything is a plugin” philosophy. This plugin is published via npm, with its repository, homepage, and issue tracker all pointing to the GitHub repository. The plugin directory is not affiliated with the official application.

Conclusion

dsh-model-provider-info injects content into the conversation.input.model.label slot to clearly label the provider in DSH’s model slot, while leveraging first-party/third-party style differences to provide visual cues. Configuration is centralized under Settings → Models, colors can be customized as needed, making it well-suited for DSH users who need to precisely identify the current model.

  • Plugin directory: https://www.skillhub.cn/plugins/yanxijian/dsh-model-provider-info
  • GitHub: https://github.com/yanxijian/dsh-model-provider-info
羽毛球分组比赛记分
小程序二维码

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

Xiaoye