Preface

When configuring multiple providers in DeepSeek Harness (DSH), it is possible to have models with the same name under different providers. If only the model name is visible in the model selector, it is difficult to determine which provider’s model is currently selected.

Below is an introduction to dsh-model-provider-label. It is used to display the provider display name and the model name together, reducing the cost of selecting between models with the same name.

What is this

dsh-model-provider-label is a DSH web plugin maintained by haiyoucuv. It displays the provider display name and the model name simultaneously in the composer model seat of the DSH dialog.

The plugin license is MIT.

Status

This plugin is no longer maintained. The relevant functionality has been merged into dsh-chat-tweaks.

If dsh-chat-tweaks is installed in the future, dsh-model-provider-label should be uninstalled. They occupy the same UI slot, and running both will result in an error.

Core Features

  • Displays the provider display name and model name in the composer model seat.
  • Used to distinguish models with the same name under different providers.
  • Masks the default rendering of the conversation.input.model UI slot via lower priority.
  • Reuses the host’s modelDirectories service.

Installation and Enablement

Install from GitHub

Execute the following command:

dsh plugin --profile web add https://github.com/haiyoucuv/dsh-model-provider-label/archive/refs/tags/v0.1.0.tar.gz

This command will install the v0.1.0 plugin package to the web profile. Restart dsh web after installation.

Install from Local Directory

For local debugging, you can use:

dsh plugin --profile web add link:/path/to/dsh-model-provider-label

Replace /path/to/dsh-model-provider-label here with the actual plugin directory. Restart dsh web after installation.

Install using pnpm

You can also install by entering the profile directory:

cd ~/.dsh/profiles/web && pnpm add https://github.com/haiyoucuv/dsh-model-provider-label/archive/refs/tags/v0.1.0.tar.gz

Restart dsh web after installation.

Adjust Display Format

If you need to modify how the provider and model name are combined, edit the following fields in the plugin source code:

  • src/client/ModelSelect.tsx
  • providerLabel
  • modelLabel
  • triggerLabel

Execute the build after modification:

pnpm build

Restart dsh web after the build is complete.

Notes

  • This plugin is no longer maintained.
  • Functionality has been merged into dsh-chat-tweaks.
  • After installing dsh-chat-tweaks, dsh-model-provider-label should be uninstalled to avoid a conflict with the same UI slot.
  • The plugin runs with the permissions of the current dsh process. Check the source code, build method, and license before installing.
  • License: MIT.
  • GitHub URL: https://github.com/haiyoucuv/dsh-model-provider-label

Summary

The role of dsh-model-provider-label is specific: it makes the provider and model name visible simultaneously in the DSH model selector, facilitating the distinction between models with the same name under different providers.

Since this plugin is no longer maintained, new use cases should look at dsh-chat-tweaks; if you still need this legacy plugin, you can install v0.1.0 using the command above, and then restart dsh web.