Introduction¶
After integrating multiple providers into DeepSeek Harness (DSH) and as the model catalog grows longer, the model selection menu in the chat input area often becomes a long list expanded by groups. Clicking through layers to find a specific id or alias interrupts the rhythm of writing prompts. The community plugin dsh-plugin-model-filter (maintained by EiffelBS) adds a Search models… search box to the model selection UI in the web client, allowing instant filtering of the list as you type, while the rest of the selection interactions still follow the original DSH flow.
What Is This¶
dsh-plugin-model-filter is a third-party client plugin for the DSH web profile (current package version 0.3.2, license MIT). It adds a search/filter box to the model selection menu in the DSH chat composer; when there are many providers and models in the catalog, you no longer need to manually scroll through a long grouped list.
Unlike the earlier approach of copying the UI through package name shadowing within the profile, this plugin is installed as an independent bundle named dsh-plugin-model-filter: it coexists with the official ui-model-selection entry and uses slot priority to render the searchable selector in practice, while preserving the official entry’s responsibilities for modelDirectories, the /model command, and the model text namespace. After being uninstalled or disabled, the official search-free selector automatically takes over the same seat, and the boot process will not lose the service provider.
Core Features¶
Search Box and Filtering Scope¶
An input field with the placeholder Search models… appears at the top of the menu. Filtering applies to model name, model id, provider name, and provider id (all four field types participate in matching in regex mode).
Plain Text Mode¶
Default case-insensitive substring matching, e.g., typing deepseek v4 narrows the list. Model ids containing slashes (e.g., deepseek-official/deepseek-v4) are still treated as plain text and will not be mistakenly split into regex.
Regex Mode¶
Wrap the pattern with slashes to switch to regex: /pattern/, with optional flags, e.g., /pattern/i.
- When the input starts with
/, aregexbadge appears to the right of the field: gray when the pattern is incomplete, green when compilation succeeds, red with an Invalid pattern prompt when invalid (it will not silently match empty). - Supports flags
i,m,s,u;g/yare ignored to keep matching stateless.
Typical examples given in the README (the catalog varies by environment, for syntax reference only):
| Filter input | Match meaning (example) |
|---|---|
/^gpt/i |
Names starting with gpt (any case) |
/pro\|flash/ |
Names containing pro or flash |
/(v4\|turbo)/ |
Contains v4 or turbo at any position |
/mini$/ |
Names ending with mini |
/^claude/i |
Matches the entire Anthropic group (also tested on provider name/id) |
Literal / within a pattern must be written as \/.
Division of Responsibilities with the Official UI¶
| Responsibility | Party responsible |
|---|---|
modelDirectories (directoryFor) |
Official ui-model-selection |
/model pop-up command |
Official ui-model-selection |
model locale |
Official ui-model-selection |
conversation.input.model rendering (including search) |
This plugin |
Search-related text (e.g., menu.filterPlaceholder) |
This plugin (fallback inside the component when absent) |
Environment Requirements¶
- DSH with the web profile (
@deepseek-ai/dsh-web-appbundle) is required. - Verified on DSH
0.1.7-rc.2; the compatibility adaptation still preserves the browser primitive names and model selection result contract of0.1.5-rc.2(seedocs/dsh-0.1.7-rc2.mdin the repository). - pnpm must be on the system
PATHwhen runningdsh plugin. - React /
@deepseek-ai/cordisare provided as peer dependencies by the web bundle.
Installation and Activation¶
After installation, you must restart the target web instance and open a new browser session to verify; simply refreshing the page cannot replace bundle reorganization.
Install from a git URL:
dsh plugin --profile web add git+https://github.com/EiffelBS/dsh-plugin-model-filter.git
Link from a local directory (no registry needed):
dsh plugin --profile web add link:/path/to/dsh-plugin-model-filter
To verify it works: first start the web without automatically opening the browser, then check whether the search box appears in the model menu:
dsh web --profile web --no-open
Before updating the plugin, it is recommended to stop the web instance first, then run the following in the profile directory:
dsh plugin --profile web update dsh-plugin-model-filter
Then restart the web instance.
Typical Usage¶
- Open the model selection menu in the chat input area and confirm
Search models…is at the top. - Quickly name a model: type a provider or model name fragment, e.g.,
flash,gpt-4. - Fine-filter: when you need anchors, alternatives, version numbers, etc., switch to
/^deep.*flash/,/pro\|flash/, etc.; wait for theregexbadge to turn green before selecting a model. - Clear the search box or remove filter words to restore the full grouped list.
The plugin does not modify the model catalog data source; it only changes the visible items in the current menu.
Use Cases and Caveats¶
Suitable for: DSH users who develop or converse in the web profile for extended periods, have a large number of models in the catalog, and want to quickly pinpoint models using the keyboard.
Note:
- Classified as a client-side plugin, it only affects the model menu UI of the web composer; the node side and other profiles are not affected by this search box.
- DSH community plugins run with the current dsh process permissions; before installation, please review the GitHub source code and the MIT license yourself to confirm it meets your security and compliance requirements.
- The plugin directory page and GitHub are maintained by the community and have no official affiliation with DeepSeek / High-Flyer; stars and versions are subject to what each page displays at the time (the directory page currently shows 0 stars).
Links¶
- Community directory: https://www.skillhub.cn/plugins/EiffelBS/dsh-plugin-model-filter
- Source code and README: https://github.com/EiffelBS/dsh-plugin-model-filter