dsh-model-capability-sync

从 models.dev 补全已配置模型的上下文窗口、输出上限、图片支持与推理档位,并整理列表本身:给每个显示名称加【供应商】前缀,让不同网关的同名模型不再长得一样,并可按供应商重排。上下文、输出、图片三项可直接在表格里手填,目录查不到的模型也可以。不发推理请求,不注册 LLM 路由,只写 name 字段,模型 ID 始终不变。

插件介绍

从 models.dev 补全已配置模型的上下文窗口、输出上限、图片支持与推理档位,并整理列表本身:给每个显示名称加【供应商】前缀,让不同网关的同名模型不再长得一样,并可按供应商重排。上下文、输出、图片三项可直接在表格里手填,目录查不到的模型也可以。不发推理请求,不注册 LLM 路由,只写 name 字段,模型 ID 始终不变。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-model-capability-sync

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:zyi07/dsh-model-capability-sync

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。