Back to home@xobexo

dsh-auto-model-switcher

国产模型优先,按任务类型自动切换模型,支持可视化配置面板

Stars
0
Language
JavaScript
Created
Aug 26, 2026
Updated
Aug 26, 2026
GitHub repo

Introduction

DSH Auto Model Switcher

国产模型优先,按任务类型自动切换模型,支持可视化配置面板

English | 中文


中文

功能

自动模型切换器(Auto Model Switcher)是一个 DeepSeek Harness 动态插件,它能根据用户输入的任务类型自动选择最合适的模型,无需手动切换。

特性

  • 智能识别:自动识别代码、推理、中文写作、日常对话等 20+ 种任务类型
  • 国产模型优先:默认使用 DeepSeek、Qwen、GLM 等国产模型作为首选
  • 可视化配置面板:在 DSH 设置页面中直观调整每个通道的主/备模型
  • 即时生效:修改配置后无需重启,立即生效
  • Fallback 机制:每个通道都有备用模型,保障可用性

默认模型配置

通道首选模型备用模型适用场景
极速通道deepseek-v4-flash-0731gpt-5.6-luna问候、格式转换、简单翻译、Git命令
代码主力deepseek-v4-pro-0813gpt-5.6-sol写代码、Debug、数据库、测试、部署
深度推理qwen3.8-maxgpt-5.6-sol算法、数学、架构设计
中文创作glm-5.2qwen3.8-max写作、文案、润色、翻译长文
日常对话qwen3.7-plusdeepseek-v4-pro-0813日常中文对话
英文对话gpt-5.6-terradeepseek-v4-pro-0813日常英文对话
极复杂问题gpt-5.6-solqwen3.8-max底层原理、内核、编译器等问题

安装

方法一:通过 DSH Web GUI 安装

  1. 下载 index.json 文件
  2. 在 DSH Web GUI 中,进入设置 → 插件 → 导入插件
  3. 选择 index.json 文件并导入

方法二:通过 CLI 安装(Bundle 模式,推荐)

dsh plugin add https://github.com/xobexo/dsh-auto-model-switcher

方法三:动态插件安装(Web GUI)

  1. 下载 index.json 文件
  2. 在 DSH Web GUI 中,进入设置 → 插件 → 导入插件
  3. 选择 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

  1. Download index.json
  2. In DSH Web GUI, go to Settings → Plugins → Import Plugin
  3. Select index.json and 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)

  1. Download index.json
  2. In DSH Web GUI, go to Settings → Plugins → Import Plugin
  3. Select index.json and import

License

MIT