OmniRoute with Cursor Responses API fix
2.3K
Cursor sends Responses-API-shaped bodies (input, reasoning.effort, prompt_cache_retention) to the /chat/completions endpoint. The upstream format detector misidentifies these as plain OpenAI requests, causing the translator to build input from messages (undefined) → empty input → upstream 400. This patch detects the Responses-API shape at the endpoint level and routes correctly.
services:
omniroute:
image: borodulin/omniroute:v3.8.7
container_name: omniroute
restart: unless-stopped
environment:
PORT: "20128"
NEXT_PUBLIC_BASE_URL: "http://localhost:20128"
DATA_DIR: /app/data
volumes:
- omniroute-data:/app/data
ports:
- "20128:20128"
volumes:
omniroute-data:
Content type
Image
Digest
sha256:27a76c27b…
Size
1.6 GB
Last updated
1 day ago
docker pull borodulin/omniroute:v3.8.50-web-codex156