dsh-llm-gateway

把 DSH 里已注册的每个模型用本机 OpenAI 兼容端点(Chat Completions 与 Responses)暴露给 Codex、ChatGPT 桌面端和任何 OpenAI SDK,并在任务结束时把概要、耗时与 token 消耗推送到飞书、钉钉或企业微信群机器人,也可以只让 DSH 界面闪动。网关请求按静默窗口聚合,四十步的任务只发一条消息,而不是四十条。

插件介绍

把 DSH 里已注册的每个模型用本机 OpenAI 兼容端点(Chat Completions 与 Responses)暴露给 Codex、ChatGPT 桌面端和任何 OpenAI SDK,并在任务结束时把概要、耗时与 token 消耗推送到飞书、钉钉或企业微信群机器人,也可以只让 DSH 界面闪动。网关请求按静默窗口聚合,四十步的任务只发一条消息,而不是四十条。

安装方式

通过 npm 安装

dsh plugin --profile web add @morgan9668/dsh-llm-gateway

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:pinb9668/dsh-llm-gateway

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.

版本兼容情况

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

安装提示

  • 可能调用终端命令