Preface¶
When integrating multiple LLM providers into DeepSeek Harness (DSH), the model list in the bottom right corner of the chat input box often appears as a flat, lengthy table. Models from the same provider are scattered across a single screen, and verifying visual capabilities or reasoning intensity often relies on memory or repeated trips to the settings. As the number of models grows, the switching cost and the probability of accidental selection increase.
Below is an introduction to the community plugin dsh-model-picker (maintainer: ZZJQ678). It replaces the native selector, transforming the list into a “Provider-grouped, collapsible” view. It aims to inherit visual tags and reasoning intensity from settings and official catalogs rather than creating a separate configuration system.
What is this¶
dsh-model-picker is a pure client-side plugin. It registers a model selection slot for the chat input box via a Cordis patch (using priority: -1 to cover native entries). The catalog and directory.select() logic still rely on the official ctx.modelDirectories; this plugin only modifies the view and interaction.
- Category: Client-side (
dsh.client.platformisweb) - Scope: The README states it is tested and verified only on the DSH Desktop version; the profile name used by the desktop version is
web. The browser-based Web version is untested, and usability is not guaranteed. - Current Version (package.json):
0.4.0, MIT License.
The plugin runs with the permissions of the current DSH process. Before installation, it is recommended to review the source code and license on the GitHub repository. Community catalog page: SkillHub Plugin Page (independent site, no official affiliation with DeepSeek / High-Flyer).
Core Features¶
Grouping and Collapsing¶
- Models are grouped by Provider, with the group header displaying the count of models in that group.
- Collapsible: By default, only the group containing the current model is expanded, while others are collapsed; clicking the group header toggles the state.
- Search: Matches Provider names/IDs or model names/IDs; matched groups are automatically expanded during search.
Merging modlens Vision Bridge Mirrors¶
Vision bridges like @liustack/modlens register mirror providers for upstream providers (IDs formatted as modlens-<upstream_id>, with names carrying a (modlens vision) suffix). This plugin collapses mirrors back to the upstream provider, listing models with the same name only once to avoid duplicate entries for the same Provider. Uninstalling modlens will naturally remove the mirrors without requiring changes to this plugin.
“Vision” and “Vision Bridge” Tags¶
These two are mutually exclusive and fully inherit from settings without requiring extra configuration:
| Tag | Meaning |
|---|---|
| Vision | The model has vision declared in settings (input includes image), and the native client can read images. |
| Vision Bridge | The model itself does not have vision enabled, but modlens applies a bridge to it, allowing image reading via the bridge. |
The official session/modelCatalog does not contain vision fields. The plugin reads the settings mirror via settingsScope.describe(). If no declaration is found, the tag is not displayed (no guessing). For server-side dynamic discovery providers (like CodeBuddy, etc.), if there is no providers declaration in settings, neither tag will be displayed.
Per-Model Inheritance of Reasoning Intensity¶
The top of the panel displays the intensity options supported by the current model (derived from the reasoning.efforts chain in Settings → dsh-llm-pi-ai → Catalog). When switching models, the model’s defaultEffort is applied, consistent with the native selectionOf behavior. Models with only the off level do not display intensity controls; models without declared reasoningEfforts also do not display controls.
Failure Visibility¶
If the Provider catalog fails to load, the reason is displayed with a retry option. If the catalog cannot be retrieved, an exception is thrown. The slot’s error boundary then retires the entry via abdicate, and the native selector automatically takes over, avoiding a dead shell interface.
Installation and Activation¶
Install from GitHub (public repository):
dsh plugin --profile web add "github:ZZJQ678/dsh-model-picker"
For local development, link to the profile actually used by the desktop version:
dsh plugin --profile web add "link:E:\DSH\dsh-model-picker"
After installation, restart DSH Desktop (or use “Restart Harness” within the app). The bundle list is fixed at startup; simply refreshing the page is insufficient to load new bundles.
The desktop version’s profile name is
web, notdesktop. Usingdesktopby mistake will install to an unused profile, often manifesting as “installed successfully but no UI change.” Desktop directory example:%APPDATA%\dsh-desktop\harness\profiles\web.
Uninstall:
dsh plugin --profile web remove dsh-model-picker
After uninstallation, the native model selector will automatically restore itself.
Typical Usage¶
After installation and restart, no separate configuration file is needed: open any session, click the model entry in the bottom right corner of the input box (or the same slot shared with the /model command), and see the panel grouped by provider.
- Click a model within a group to switch the session’s current model. If the model has reasoning intensity configured in settings, the corresponding level will appear at the top, and its default intensity will be applied upon switching.
- Type a provider or model name/ID into the panel search box; matched groups will automatically expand.
- If modlens is installed, bridged models under the same upstream will be merged with native entries. The “Vision Bridge” tag is shown as needed; models with vision checked in settings display “Vision.”
The plugin does not modify Provider plugins or settings.yaml; vision and intensity remain subject to your declarations in DSH settings.
Use Cases and Notes¶
Who it is for
- DSH Desktop users who have configured multiple LLM providers and numerous models, and prefer browsing by Provider rather than scanning a flat list.
- Users simultaneously using modlens vision bridges who want to avoid list duplication while distinguishing between “native vision” and “bridged vision.”
- Users who have configured
reasoningEffortsfor different models in settings and wish to view and switch intensity while selecting models.
Important Notes
- Environment: Only the Desktop version + profile
webhas README-level verified instructions; the Web version is untested. - Dependency Services: The plugin’s
injectrequires alignment with the official model selection UI (includingremote,remote.session, etc.). If dependencies are missing, the slot will silently retire, and the native selector will take over. Console errors related to inject may appear. - Permissions & Security: Plugin code executes within the client bundle. Please review the GitHub source code before installing.
- UI Primitives: Prioritizes using
@deepseek-ai/dsh-client-ui-primitives; if primitives are unavailable, it degrades to pure DOM without icons, but core selection functions remain usable.
Conclusion¶
Without touching the official catalog or selection logic, dsh-model-picker transforms the model selector into a provider-grouped, searchable, and collapsible view. It inherits vision and reasoning intensity tags from settings—making it suitable for daily switching in DSH Desktop environments with many models and diverse providers.
- Community Catalog: https://www.skillhub.cn/plugins/ZZJQ678/dsh-model-picker
- Source Code & Detailed Design: https://github.com/ZZJQ678/dsh-model-picker