dsh-model-rotation

按来源分组的模型轮询:把每个 provider 的模型按来源分组,可手动排序,也可按成功率和延迟自动排序;支持「模型 + 思考强度」预设;某一档额度用尽或不可用时自动切到下一档,并用下一档把同一步重新发一次;会话头显示本次回答由哪个模型产出。使用已安装的 provider 插件(agy 账号池、Codex 订阅、DeepSeek API Key)提供的模型,插件本身不提供模型接入。

插件介绍

按来源分组的模型轮询:把每个 provider 的模型按来源分组,可手动排序,也可按成功率和延迟自动排序;支持「模型 + 思考强度」预设;某一档额度用尽或不可用时自动切到下一档,并用下一档把同一步重新发一次;会话头显示本次回答由哪个模型产出。使用已安装的 provider 插件(agy 账号池、Codex 订阅、DeepSeek API Key)提供的模型,插件本身不提供模型接入。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-model-rotation

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:ZhouXuan-Yu/dsh-model-rotation

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.

版本兼容情况

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