dsh-provider-model-select
Verifieddsh-provider-model-select · v2.3.0 · MIT · Web UI
将 DSH 聊天框模型选择改为先选择供应商、再选择模型。
Install
dsh plugin add dsh-provider-model-select Confirm the layer applied with dsh --profile default --dump-config — see the install guide.
Source
Tags
Creators
Readme
DSH Provider-first Model Select
中文
将 DSH 聊天框右下角的模型选择器改为级联菜单:点击供应商后,在右侧浮出并选择模型;模型面板会按当前供应商下最长的模型名称调整宽度。
功能
- 先显示供应商列表;
- 再显示所选供应商的模型;
- 支持返回供应商列表;
- 选择模型后自动关闭菜单;
- 复用 DSH 原有模型目录和选择 API。
安装
使用 DSH 官方插件命令安装到 Profile:
dsh plugin --profile desktop add dsh-provider-model-select
安装后重启 DSH。
本地开发安装:
dsh plugin --profile desktop add ./dsh-provider-model-select
发布
本插件是一个 DSH bundle,可发布到 npm:
npm.cmd login
npm.cmd publish --access public
许可证
MIT
English
A DSH plugin that changes the model selector in the bottom-right corner of the chat composer to a two-level menu: choose a provider first, then choose a model.
Features
- Shows providers in the first-level menu;
- Shows models belonging to the selected provider;
- Supports returning to the provider list;
- Closes the menu after a model is selected;
- Reuses DSH's existing model directory and selection API.
Installation
Install it into a DSH Profile with the official plugin command:
dsh plugin --profile desktop add dsh-provider-model-select
Restart DSH after installation.
For local development:
dsh plugin --profile desktop add ./dsh-provider-model-select
Publishing
This project is a DSH bundle and can be published to npm:
npm.cmd login
npm.cmd publish --access public
License
MIT