dsh-bot-model-switch

给 DS Bot 团队批量或逐个切换模型:一次把全队切到同一模型,或每个 Bot 单独一行设置;写入走 DS Bot 自己的 api/bot update-bot 端点,不直接改 state.json。

插件介绍

给 DS Bot 团队批量或逐个切换模型:一次把全队切到同一模型,或每个 Bot 单独一行设置;写入走 DS Bot 自己的 api/bot update-bot 端点,不直接改 state.json。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-bot-model-switch

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:DamonKoy/dsh-bot-model-switch

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.

版本兼容情况

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