TikaFlow/dsh-model-fix 预览 preview

TikaFlow/dsh-model-fix

DSH(DeepSeek Harness) 插件:给非官方(自定义)提供方的模型自动填充推理级别(reasoningEfforts)、最大上下文(contextWindow)、输出上限(maxTokens)与图片模态(input)等参数,数据来自 models.dev。同时,提供兼容性提升、记住推理级别等用户体验优化。

catalog descriptioncatalog 简介 / catalog description:DSH 插件:给非官方(自定义)提供方的模型自动填充推理级别、最大上下文、输出上限与图片模态等参数(数据来自 models.dev),并提供兼容性提升、记住推理级别等用户体验优化。

Project Overview项目介绍

TikaFlow/dsh-model-fix is a native plugin built specifically for DSH (DeepSeek Harness), targeting users who route custom or third-party OpenAI-compatible providers through the harness and want their model metadata handled automatically. The plugin pulls capability data from models.dev — reasoningEfforts, contextWindow, maxTokens, and image input support — and fills any missing values into the provider configuration, leaving existing entries untouched unless an update flag is enabled. It also writes compat.supportsDeveloperRole: false into every api: openai-completions provider so the developer role is avoided, and that field is added on enable and removed on disable, unlike the other toggles.

The typical workflow is zero-config: install the plugin, open DSH, and the auto-fill runs immediately using a bundled offline cache that is later refreshed from models.dev. Per-model reasoning effort is remembered and restored on model switch, and when no memory exists for a model exposing a high tier, that level is selected by default. Users can force-update parameters, restore the snapshot taken at plugin startup, or list provider IDs in the excludes array to skip auto-fill, updates, compatibility writes, forced updates, and reasoning resets for those providers — though the UX flags still apply globally.

Supported DSH host versions span 0.1.2-rc.1 through 0.2.0-rc.2, and the plugin depends on the harness rather than any external service beyond models.dev. Installation options include pasting the latest release tarball URL (https://github.com/TikaFlow/dsh-model-fix/releases/latest/download/dsh-model-fix.tgz) into the Plugins → Add Plugin dialog on DSH ≥ 0.1.6-alpha.2, searching the TikaFlow author handle inside the dsh-market marketplace for a no-restart install, and CLI variants such as dsh plugin --profile web add https://github.com/TikaFlow/dsh-model-fix/releases/latest/download/dsh-model-fix.tgz or dsh plugin --profile web add github:TikaFlow/dsh-model-fix (the latter compiles on the fly and is not recommended). Manual editing of settings.yaml under tikaflow-model-fix.version-6 is offered as an equivalent path. The repository is released under the MIT license.

TikaFlow/dsh-model-fix 是面向 DSH(DeepSeek Harness)的原生插件,专注于为非官方自定义模型提供方补全关键参数。它从 models.dev 拉取 reasoningEfforts、contextWindow、maxTokens 与图片 input 等元信息,自动填充到 DSH 的模型配置中;并向 api: openai-completions 的提供方写入 compat.supportsDeveloperRole: false,避免使用 developer 角色带来的兼容性差异。

该插件面向在 DSH 中接入大量自定义或第三方 OpenAI 兼容提供方、又不想逐个手填模型元数据的用户。它会自动按模型记忆推理级别、切换时自动恢复,并在新模型无记忆时默认使用 high 档位;同时支持强制更新、恢复备份以及排除指定提供方跳过接管,可视化设置入口分布在「设置 → 模型」、「插件 → 已安装」等多个位置。

依赖方面,它以 DSH 0.1.2-rc.1 至 0.2.0-rc.2 为宿主版本,支持离线启动后从内置缓存填充后再同步最新数据。可通过插件管理页面粘贴 https://github.com/TikaFlow/dsh-model-fix/releases/latest/download/dsh-model-fix.tgz 安装,也可借助 dsh-market 市场、或运行 dsh plugin --profile web add 命令完成。首次使用无需额外配置,进入 DSH 即生效;该项目以 MIT 许可证开源。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:TikaFlow/dsh-model-fix

把 TikaFlow/dsh-model-fix 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-model-fix

本插件已被 awesome-dsh-plugin 收录,同时可在 dsh-market 中搜索、安装。

DSH(DeepSeek Harness) 插件:给非官方(自定义)提供方的模型自动填充推理级别(reasoningEfforts)、最大上下文(contextWindow)、输出上限(maxTokens)与图片模态(input)等参数,数据来自 models.dev。同时,提供兼容性提升、记住推理级别等用户体验优化。

插件截图:

插件管理界面

更多截图

功能

  • 自动填充:模型缺失 reasoningEfforts / contextWindow / maxTokens / input 时按 models.dev 数据补全;已有配置不受影响
  • 允许更新:当 models.dev 数据更新时,插件会自动更新模型参数(已有配置也会更新)
  • 不使用developer角色:为所有 api: openai-completions 的提供方路由写入 compat.supportsDeveloperRole: false(不使用 developer 角色);关闭该开关则移除此字段
  • 排除提供方:列出的提供方本插件完全不动(填充、更新、兼容性写入、强制更新、重置推理级别时跳过),基本等效于对它关闭插件
  • 记住推理级别:每模型独立记住上次手动选择的推理级别,切换模型时自动恢复
  • 清除记忆:关闭「记住推理级别」时,将会询问是否确认清除记忆,可在清除后不保存设置,依然可以继续记忆,但旧记忆已清除
  • 默认使用 high:切换模型时,若没有该模型的记忆,且模型提供 high 档位,则自动把推理级别设为 high
  • 强制更新:按 models.dev 当前值立即覆盖一遍
  • 恢复备份:回退到插件启动时已存在的模型参数
  • 可视化设置:见下文
  • 开箱即用:启动即以内置缓存填充(离线可用),数据随后自动保持最新

可视化设置

  • 入口:
    • 「设置」-->「模型」-->「模型参数填充」卡片
    • 「设置」-->「内置插件」-->「模型填充」选项卡-->「模型参数填充」卡片(此处卡片默认展开)
    • 「插件」-->「已安装」-->「模型参数填充」详情页(此处卡片默认展开)
    • 「插件」-->「已安装」-->「模型参数填充」详情页-->「包含的组件」-->「dsh-model-fix」

安装

以下所有安装方式安装的内容、效果完全相同。

方式一:通过插件管理页面安装(推荐)

在 DSH 中,点击「插件」-->「添加插件」,复制以下链接到输入框,完成安装:

https://github.com/TikaFlow/dsh-model-fix/releases/latest/download/dsh-model-fix.tgz

方式二:通过插件市场安装(推荐)

使用 dsh-market 插件市场安装时无需重启 DSH 即生效。

直接在插件市场搜索我的用户名:TikaFlow,找到「dsh-model-fix」插件,即可安装。

方式三:通过 Release 预构建包安装

dsh plugin --profile web add https://github.com/TikaFlow/dsh-model-fix/releases/latest/download/dsh-model-fix.tgz

方式四:通过 Git 安装(不推荐)

使用这种方式安装需要现场编译插件,不推荐。

dsh plugin --profile web add github:TikaFlow/dsh-model-fix

版本说明

由于 DSH 正在快速迭代,因此本插件所依赖/兼容的 DSH 宿主版本总是追随较新的版本。若插件功能异常,请检查 DSH 版本是否满足插件依赖版本。

支持范围

DSH 0.1.7-rc.2 ~ 0.2.0-rc.2

使用说明

无需任何操作,进入 DSH 后插件即自动生效:自动填充缺失的模型参数,并记住用户手动选择的推理级别。某个提供方不想被接管,就把它的 id 加进「排除提供方」(见下文)。

配置

图形界面(推荐):见 可视化设置

手动编辑(等效方式):Web 设置界面右上角「打开配置文件 / Open configuration file」直接编辑 settings.yaml:

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-token-optimizer 下一个 Next DSH-Store →