dsh-auto-model-switcher
国产模型优先,按任务类型自动切换模型,支持可视化配置面板
- Stars
- 0
- Language
- JavaScript
- Created
- Aug 26, 2026
- Updated
- Aug 26, 2026
Introduction
DSH Auto Model Switcher
国产模型优先,按任务类型自动切换模型,支持可视化配置面板
中文
功能
自动模型切换器(Auto Model Switcher)是一个 DeepSeek Harness 动态插件,它能根据用户输入的任务类型自动选择最合适的模型,无需手动切换。
特性
- 智能识别:自动识别代码、推理、中文写作、日常对话等 20+ 种任务类型
- 国产模型优先:默认使用 DeepSeek、Qwen、GLM 等国产模型作为首选
- 可视化配置面板:在 DSH 设置页面中直观调整每个通道的主/备模型
- 即时生效:修改配置后无需重启,立即生效
- Fallback 机制:每个通道都有备用模型,保障可用性
默认模型配置
| 通道 | 首选模型 | 备用模型 | 适用场景 |
|---|---|---|---|
| 极速通道 | deepseek-v4-flash-0731 | gpt-5.6-luna | 问候、格式转换、简单翻译、Git命令 |
| 代码主力 | deepseek-v4-pro-0813 | gpt-5.6-sol | 写代码、Debug、数据库、测试、部署 |
| 深度推理 | qwen3.8-max | gpt-5.6-sol | 算法、数学、架构设计 |
| 中文创作 | glm-5.2 | qwen3.8-max | 写作、文案、润色、翻译长文 |
| 日常对话 | qwen3.7-plus | deepseek-v4-pro-0813 | 日常中文对话 |
| 英文对话 | gpt-5.6-terra | deepseek-v4-pro-0813 | 日常英文对话 |
| 极复杂问题 | gpt-5.6-sol | qwen3.8-max | 底层原理、内核、编译器等问题 |
安装
方法一:通过 DSH Web GUI 安装
- 下载
index.json文件 - 在 DSH Web GUI 中,进入设置 → 插件 → 导入插件
- 选择
index.json文件并导入
方法二:通过 CLI 安装(Bundle 模式,推荐)
dsh plugin add https://github.com/xobexo/dsh-auto-model-switcher
方法三:动态插件安装(Web GUI)
- 下载
index.json文件 - 在 DSH Web GUI 中,进入设置 → 插件 → 导入插件
- 选择
index.json文件并导入
使用
安装后,插件会自动生效。你可以在 DSH 设置页面的「自动模型切换」面板中查看和修改配置。
English
Features
Auto Model Switcher is a DeepSeek Harness dynamic plugin that automatically selects the most suitable model based on the user's task type.
- Smart Detection: Auto-detects 20+ task types including coding, reasoning, Chinese writing, daily conversation
- Chinese Model First: Prioritizes domestic models like DeepSeek, Qwen, GLM
- Visual Config Panel: Adjust primary/fallback models for each channel in DSH settings
- Instant Apply: Changes take effect immediately without restart
- Fallback Support: Each channel has a backup model for reliability
Installation
Method 1: Via DSH Web GUI
- Download
index.json - In DSH Web GUI, go to Settings → Plugins → Import Plugin
- Select
index.jsonand import
Method 2: Via CLI (Bundle mode, recommended)
dsh plugin add https://github.com/xobexo/dsh-auto-model-switcher
Method 3: Dynamic Plugin (Web GUI)
- Download
index.json - In DSH Web GUI, go to Settings → Plugins → Import Plugin
- Select
index.jsonand import
License
MIT