9router/open-sse/translator/request
Claude Code c785051360 fix(claude): forced tool_choice 400 on cc/ OAuth route
convertOpenAIToolChoice mapped {type:"function"} verbatim and cloakClaudeTools
left tool_choice.name unsuffixed, both rejected by Claude on the cc/ path.
Map forced-function to {type:"tool",name}, allowlist Claude-valid types, and
suffix tool_choice.name when it targets a renamed client tool.

Fixes #1592

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 12:54:01 +07:00
..
antigravity-to-openai.js fix: strip enumDescriptions from tool schema in antigravity-to-openai (closes #566) 2026-04-17 12:15:10 +07:00
claude-to-openai.js fix: detect Claude format for /v1/messages + sanitize tool descriptions (#397) 2026-03-27 10:38:37 +07:00
gemini-to-openai.js Fix cloud 2026-01-29 18:07:28 +07:00
openai-responses.js # v0.4.52 (2026-05-17) 2026-05-17 16:37:26 +07:00
openai-to-claude.js fix(claude): forced tool_choice 400 on cc/ OAuth route 2026-06-06 12:54:01 +07:00
openai-to-commandcode.js feat: enhance CommandCode integration with improved message handling 2026-05-07 23:02:07 +07:00
openai-to-cursor.js fix: force Agent mode in Cursor protobuf when User-Agent contains Claude Code (closes #643) (#692) 2026-04-22 10:24:58 +07:00
openai-to-gemini.js fix: Antigravity INVALID_ARGUMENT errors and Copilot agent mode parity 2026-04-26 19:53:08 +08:00
openai-to-kiro.js fix(kiro): handle 400 on tool-bearing history without client tools 2026-06-06 12:23:47 +07:00
openai-to-kiro.old.js ok 2026-01-27 10:49:16 +07:00
openai-to-ollama.js fix: map OpenAI image_url data URLs to Ollama images[] (closes #427) (#432) 2026-03-27 10:48:18 +07:00
openai-to-vertex.js fix(translator): correct thought signatures for AG, Gemini CLI, Vertex; fix missing Vertex response translator 2026-04-05 00:38:36 +07:00