deepseek-harness-model-config:DeepSeek Harness 的模型配置 DSH plugin
marvekg/deepseek-harness-model-config
为 DeepSeek Harness Web UI 添加模型高级配置页面,自定义端点与能力参数。
为 DeepSeek Harness Web UI 添加模型高级配置页面,支持自定义端点、协议和模型能力参数。
dsh plugin --profile web add github:marvekg/deepseek-harness-model-config- 分类
- 模型与推理
- 平台
- DSH-Plugin
- 作者
- marvekg
- 分发方式
- 插件
deepseek-harness-model-config 核心特性
deepseek-harness-model-config 仓库信息

deepseek-harness-model-config 仓库简介
deepseek-harness-model-config 是 DeepSeek Harness(DSH)的模型配置插件(DSH plugin),专为 Web UI 添加“模型高级配置”页面,解决自定义模型端点与能力参数配置的痛点。它由 MarvekG 维护,采用 MIT 协议,最近更新于 2026-08,目前获得 23 个 Star。该插件支持创建自定义端点(名称、URL、API Key、协议),在 provider 层配置自定义请求 Header,并兼容 openai-completions、openai-responses、anthropic-messages 三种协议。通过统一的 GET /models 流程获取候选模型,支持全选、反选和全不选,还能从 models.dev 补全上下文窗口、最大输出、输入模态和推理能力等参数。界面文案中英双语,跟随 Harness 语言设置,API Key 仅经凭据存储写入,不会泄露到配置预览中。
deepseek-harness-model-config 这个 DSH plugin 支持哪些核心特性?
该 DSH 插件提供完整的模型管理体验:新增端点时可设置名称、URL、API Key 和协议;支持在 provider 层配置自定义 Header 并应用于模型请求,但“获取可用模型”仍使用 API Key。保存前可编辑每个模型的容量、文本/图片输入和 reasoningEfforts,并预览不含密钥的配置。此外,插件自动从 models.dev 补全缺失的上下文窗口、最大输出等参数,减少手动输入。
deepseek-harness-model-config 怎么安装?
安装前需确保已安装可运行的 dsh。默认从 GitHub 安装,命令如下:
dsh plugin --profile web add github:MarvekG/deepseek-harness-model-config
dsh web
安装后打开 Web UI 的“设置 → 模型高级配置”即可使用。如需固定版本,可在仓库地址后附加 commit SHA,例如 github:MarvekG/deepseek-harness-model-config#<sha>。
deepseek-harness-model-config 如何本地调试与卸载?
本地调试时,克隆仓库后在根目录以本地 link: 依赖安装:
dsh plugin --profile web add .
dsh web
卸载则从 Web profile 移除插件:
dsh plugin --profile web remove dsh-models-config-plugin
更新采用“卸载旧版本,再安装新版本”的方式,本地调试时可将第二条命令替换为 dsh plugin --profile web add .。
deepseek-harness-model-config 兼容哪些 DeepSeek Harness 版本和平台?
该插件面向 DeepSeek Harness 的 Web UI,兼容 openai-completions、openai-responses、anthropic-messages 三种协议,适用于需要自定义模型端点的场景。插件由 MarvekG 维护,采用 MIT 协议,最近更新于 2026-08,目前获得 23 个 Star,属于 dsh-plugin 生态的验证插件。