Passer au contenu principal
K

dsh-provider-model-select

kobe24-hash/dsh-provider-model-select

将 DSH 聊天框模型选择改为先选择供应商、再选择模型。

Installer

dsh plugin --profile web add github:kobe24-hash/dsh-provider-model-select

README

DSH Provider-first Model Select

中文 · English

中文

将 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

Plugins associés