MarvekG/deepseek-harness-model-config ↗★ 1
dsh-models-config-plugin
Advanced per-model reasoning and capacity settings for DeepSeek Harness
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MarvekG/deepseek-harness-model-config说明文档
阅读完整 README ↗DeepSeek Harness 模型配置插件
English | 中文
为 DeepSeek Harness Web UI 添加“模型高级配置”页面,用于创建自定义模型端点并配置每个模型的能力参数。
功能
- 新增自定义端点:名称、URL、API Key 和协议。
- 支持
openai-completions、openai-responses、anthropic-messages。 - 通过统一的
GET /models流程获取候选模型,支持全选、反选和全不选。 - 从
models.dev补全缺失的上下文窗口、最大输出、输入模态和推理能力。 - 在保存前编辑每个模型的容量、文本/图片输入和
reasoningEfforts,并查看不含密钥的配置预览。 - 所有界面文案支持中文和英文,跟随 Harness 语言设置。
- API Key 仅经 Harness 凭据存储写入,不会进入
settings.yaml或配置预览。
安装
需要已安装并可运行的 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 .。