dsh-llm-gateway: Exposing Models Configured in Harness as a Local OpenAI-Compatible API
dsh-llm-gateway is a DSH plugin maintained by Cai-kunkun that exposes OpenAI-compatible `/v1/models` and `/v1/chat/completions` endpoints on the default address `127.0.0.1:2778`. Incoming requests are protocol-translated and routed through `ctx.llm.stream()` along with Harness's existing adapters, while credential and quota management remain handled by Harness. The plugin supports installation via npm or symbolic link, invocation through curl or SDK, and configurable options such as `port`, `apiKey`, and `allowLan`. It is well suited for unifying model calls—already configured in Harness—across tools like Cline and Continue.
Read More