9router/open-sse/executors
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
..
antigravity.js feat: cherry-pick PR #183 — multi-provider support, PWA, dynamic models, UI improvements 2026-02-25 11:40:50 +07:00
base.js feat(provider): add free providers and enhance error handling 2026-02-07 11:17:06 +07:00
codex.js Fix: Codex image support - convert image_url to input_image format (#236) 2026-03-05 10:31:50 +07:00
cursor.js chore: add Gemini 3.1 Pro models to provider configurations 2026-02-22 15:20:24 +07:00
default.js chore: Refactor CursorAuthModal to handle manual instructions for Windows users. 2026-02-28 12:12:49 +07:00
gemini-cli.js refactor: streamline provider interactions and enhance error handling 2026-01-11 21:45:01 +07:00
github.js fix: resolve GitHub Copilot 400 error for Claude models in Cursor IDE (#220) 2026-03-01 15:38:14 +07:00
iflow.js feat(iflow): add IFlowExecutor with HMAC-SHA256 signature and enable models 2026-02-11 15:32:22 +07:00
index.js feat(iflow): add IFlowExecutor with HMAC-SHA256 signature and enable models 2026-02-11 15:32:22 +07:00
kiro.js feat: Enhance usage tracking across response handlers 2026-02-03 00:29:22 +07:00