9router/open-sse
Rodrigo Rodrigues Costa 40a53fbd33
Fix: Codex image support - convert image_url to input_image format (#236)
Cursor sends images as Chat Completions format:
  { type: "image_url", image_url: { url: "data:...", detail: "auto" } }

But Codex Responses API requires:
  { type: "input_image", image_url: "data:..." }

- openai-responses.js: bidirectional conversion image_url <-> input_image
- responsesApiHelper.js: input_image -> image_url in Responses->Chat path
- codex.js: safety net conversion in executor before sending to Codex API

Note: Cursor has a known bug where images bypass the Override OpenAI Base URL
and are sent directly to api.openai.com. This fix is effective for other clients
(curl, Codex CLI, Claude Code) that route through the proxy correctly.

Made-with: Cursor
2026-03-05 10:31:50 +07:00
..
config Fix Antigravity OAuth 2026-03-03 16:01:10 +07:00
executors Fix: Codex image support - convert image_url to input_image format (#236) 2026-03-05 10:31:50 +07:00
handlers Feat : console log 2026-03-02 09:31:16 +07:00
services Fix Antigravity OAuth 2026-03-03 16:01:10 +07:00
transformer feat: enhance request handling and error management in chatCore and streamToJsonConverter 2026-02-15 12:02:53 +07:00
translator Fix: Codex image support - convert image_url to input_image format (#236) 2026-03-05 10:31:50 +07:00
utils Fix : Claude OAuth 2026-03-03 14:46:05 +07:00
.npmignore Update jsconfig.json and package.json to correct open-sse path references from relative to local directory. 2026-01-05 10:37:09 +07:00
index.js feat(executors): Improved UI components for displaying provider limits and usage statistics in the dashboard. 2026-02-05 18:38:50 +07:00