Skip to content

v2.0.0

Choose a tag to compare

@engel75 engel75 released this 15 Apr 21:13
· 17 commits to main since this release
d15a1ba

What's New

OpenAI Responses API Support

eiroute now proxies POST /v1/responses requests to your backend. This endpoint is used by newer OpenAI API clients and supports advanced features like:

  • Multi-turn conversations with previous_response_id
  • Enhanced tool calling capabilities
  • Structured output with JSON schema

The route follows the same pattern as existing /v1/chat/completions and /v1/completions endpoints, including automatic backend selection, streaming support, semaphore-based rate limiting, and Request ID propagation.

Changes

  • Added POST /v1/responses route in cmd/eiroute/main.go
  • Added TestProxy_ResponsesRoute test in internal/router/router_test.go

Requirements

  • Backend must support the Responses API (e.g., sglang)
  • No configuration changes required - works with existing model definitions