MarvekG/deepseek-harness-model-config14

dsh-models-config-plugin

为 DSH Web UI 添加模型高级配置页面,支持自定义端点、能力参数微调及容量编辑。

AI 分析

核心用途是可视化管理自定义模型端点、协议及模型容量参数。适合需要接入非官方 API 端点并精细配置上下文窗口等参数的高级用户。

套件
dsh-models-config-plugin
版本
0.1.0
授權
MIT
最近更新
2026年8月16日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MarvekG/deepseek-harness-model-config

DeepSeek Harness 模型配置插件

English | 中文

DeepSeek Harness Web UI 添加“模型高级配置”页面,用于创建自定义模型端点并配置每个模型的能力参数。

功能

  • 新增自定义端点:名称、URL、API Key 和协议。
  • 支持 openai-completionsopenai-responsesanthropic-messages
  • 通过统一的 GET /models 流程获取候选模型,支持全选、反选和全不选。
  • models.dev 补全缺失的上下文窗口、最大输出、输入模态和推理能力。
  • 在保存前编辑每个模型的容量、文本/图片输入和 reasoningEfforts,并查看不含密钥的配置预览。
  • 所有界面文案支持中文和英文,跟随 Harness 语言设置。
  • API Key 仅经 Harness 凭据存储写入,不会进入 settings.yaml 或配置预览。

打开设置:

image

新增端点:

image

获取模型,并自动获取推理强度、上下文大小、输出强度等参数:

image

安装

需要已安装并可运行的 dsh。默认从 GitHub 安装:

dsh plugin --profile web add github:MarvekG/deepseek-harness-model-config
dsh web

打开 Web UI 的“设置 → 模型高级配置”,即可新增端点或编辑现有 llm-pi-ai 模型配置。

如需固定版本,在仓库地址后附加 commit SHA,例如 github:MarvekG/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 remove dsh-models-config-plugin
dsh plugin --profile web add github:MarvekG/deepseek-harness-model-config
dsh web

本地调试时,将第二条命令替换为 dsh plugin --profile web add .

许可证

MIT

友链