Skip to content

v1.1.0 - /v1/messages and /v1/responses

Choose a tag to compare

@crossps crossps released this 31 May 17:06
· 4 commits to main since this release

Adds two more inbound API formats so almost any client works as-is.

New

  • POST /v1/messages (Anthropic Messages in) — passthrough to Anthropic with prompt-cache breakpoints + keepalive; cross-converts to OpenAI for gpt-* models, including streaming. Lets Claude Code / the Anthropic SDK finally get the cache keepalive.
  • POST /v1/responses (OpenAI Responses in) — passthrough to OpenAI. Lets Codex / the Agents SDK route through the bridge.

Notes

  • Each request replies in the same format it was sent in.
  • Responses->Anthropic translation is deferred (returns a clear 400) — see issue #1.
  • 17 tests, all passing.