[LIVE] [ANDYPENG09/opencode-responses-bridge-skill] 1 endpoint(s)
ChatGPT
API Proxy/ChatGPT
2,146 characters
Status: [LIVE]
Endpoints found:
https://opencode.ai/zen/go/v1/responses`
Source: https://github.com/ANDYPENG09/opencode-responses-bridge-skill
# OpenCode Responses Bridge (Chat Completions β Responses API local adapter)
> **π Languages:** [English](README.md) Β· [δΈζ](README.zh-CN.md)
> **Skill Overview**
>
> **OpenCode Responses Bridge** is a zero-dependency local proxy that adapts OpenAI
> **Chat Completions** β **Responses API**. It lets any OpenAI-compatible agent client
> (WorkBuddy, Cursor, Open WebUI, LobeChat, ...) use Responses-API-only models such as
> OpenCode Go `gpt-5.6-luna` β with streaming SSE, tool calls, reasoning passthrough and
> multimodal input. Python 3.8+, standard library only, no installs.
>
> **How to install**
>
> - **WorkBuddy / SkillHub:** install the skill from SkillHub (zip or CLI), then copy
> `scripts/proxy.py` + `scripts/start_proxy.bat` to a stable folder and run it.
> - **ClawHub:** `clawhub install opencode-responses-bridge-skill`
> - **GitHub:** `git clone https://github.com/ANDYPENG09/opencode-responses-bridge-skill`
>
> **How to invoke**
>
> - Start the proxy: `python3 proxy.py` (defaults to `http://127.0.0.1:8787`).
> - Point your client's custom model URL at `http://127.0.0.1:8787/v1/chat/completions`.
> - Smoke test: `curl http://127.0.0.1:8787/v1/chat/completions -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" -d '{"model":"gpt-5.6-luna","messages":[{"role":"user","content":"hi"}],"stream":false}'`
---
## What problem does it solve
Custom-model channels in AI agent clients typically only speak the OpenAI **Chat Completions**
protocol, while some upstream models (typically OpenCode Go's `gpt-5.6-luna`) only expose the
OpenAI **Responses API**. Direct configuration always fails, with common errors:
- `HTTP 400 invalid_prompt` / `Invalid Responses API request`
- WorkBuddy "custom model error 10000"
- First message works, but **any message after history fails** (assistant history message
`content` arrays are not converted)
This proxy performs a **local protocol translation**: client β Chat Completions β proxy β
Respon