dsh-speed

为 OpenAI 与 Codex 模型增加 Speed 设置(Standard/Fast/Ultrafast),但需要打过补丁的 dsh 构建:钉住的 dsh 0.2.1-alpha.2 Web 客户端要加上 Model / Effort 子槽补丁,宿主 pi-ai 必须是 0.87.1 或 1.1.0(其他版本会拒绝加载),终端控制还需打过补丁的 dsh-TUI。满足条件后它会出现在 Model / Effort 菜单;在 dst 里 /speed 可打开选择器或直接设置,底栏显示当前档位。选择按会话、供应商和模型分别保存,并作为请求的 service tier 发送。

插件介绍

为 OpenAI 与 Codex 模型增加 Speed 设置(Standard/Fast/Ultrafast),但需要打过补丁的 dsh 构建:钉住的 dsh 0.2.1-alpha.2 Web 客户端要加上 Model / Effort 子槽补丁,宿主 pi-ai 必须是 0.87.1 或 1.1.0(其他版本会拒绝加载),终端控制还需打过补丁的 dsh-TUI。满足条件后它会出现在 Model / Effort 菜单;在 dst 里 /speed 可打开选择器或直接设置,底栏显示当前档位。选择按会话、供应商和模型分别保存,并作为请求的 service tier 发送。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:jakehemmerle/dsh-speed

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.

版本兼容情况

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