dshbase

插件目录 / AI Models / better-model-provider

better-model-provider

已验证 · 实测可装 sanshanya

✓ 持续维护 3 位贡献者 基于 1 个官方 DSH 包 纯 TypeScript

查看 GitHub ↗ ← 返回插件目录

12Stars
0Forks
2未关闭 issue
TypeScript语言
2026-09-11最近推送
跨平台平台

功能简介

DeepSeek Harness每模型能力声明:推理努力级别+请求模态(视觉),设置区,零依赖。

✅
我们的评价
可用 — 实测通过,早期项目

DeepSeek Harness每模型能力声明:推理努力级别+请求模态(视觉),设置区,零依赖。 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

better-model-provider

Per-model capability editing for DeepSeek Harness: reasoning-effort levels (with wire spellings), input modalities, and token capacities — declarations on your own routes, sparse overrides on official-catalog routes.

Custom models: edit declarations. Official models: edit overrides. Provider configuration remains official.

中文

Editing one model row

Why

Two per-model fields stayed YAML-only: reasoningEfforts and input. Until declared, the picker shows no effort control and image sessions refuse the model (... does not accept image input). This page edits them plus contextWindow / maxTokens — one row fully configures one model.

Install

dsh plugin --profile web add github:sanshanya/better-model-provider#master

CI rebuilds and republishes ready-built artifacts to the master branch on every green main push, so this path never builds locally. Installing the default branch (github:sanshanya/better-model-provider) builds from source and prints one pnpm allowBuilds key to add, then rerun add; a local link: install must npm install && npm run build first. Restart dsh web, and the Settings sidebar gains Model capabilities.

dsh plugin --profile web rm better-model-provider

Use

  1. Configure the provider and API key on the official Models page first — keys and route lifecycle are always managed there; this page does not repeat them.
  2. Expand a model row and edit its capabilities:
    • Reasoning effort: pick Custom, check the levels you need; to offer "off" too, check off (its wire value may stay blank).
    • Vision models: check image under input modalities — otherwise sending an image to this model gets refused.
    • Capacities: K/M spelling reads best (380K, 1M). Tap Apply and the change takes effect at once.
  3. Official-catalog routes: tap Manage official models and edit. Every change here stores only the difference from the official default — everything else keeps following catalog updates; Reset to official defaults undoes all of one model's edits at once.
  4. Manage official providers (N) unfolds installed-but-unconfigured routes: pick one, apply the first change, and the route comes into being (its API key still goes on the official page).

Dedicated-adapter apps (built-in DeepSeek / OpenAI Codex) declare their capabilities on their own settings pages and never appear here.

Compatibility

We declare compatibility with the whole dsh 0.1.x line: contract @deepseek-ai/dsh-api-remotes >=0.1.0-rc.7 <0.2.0, real-harness lanes verified on rc.7, rc.8, 0.1.1-rc.2, and 0.1.2-alpha.1/alpha.2 — a daily CI canary re-proves both published channels (latest and alpha) against their current npm dist-tags. Surfaces outside the contract degrade silently. Development gates, live lanes, and invariants: see CONTRIBUTING.md.

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 better-model-provider」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:sanshanya/better-model-provider

Headless(CLI)profile:

dsh plugin --profile headless add github:sanshanya/better-model-provider

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

使用场景

把一个新模型、provider 或路由策略接入循环,让 dsh 能为任务选对脑子。

适合谁

同时用多个模型或 provider、想让成本/质量/延迟自动平衡的人。

二次开发建议

provider 适配器和路由启发式是缝——加后端、调回退链,或加按任务的模型选择。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

AI Models 里更多

浏览全部 7797 个插件 →