9router/open-sse/translator
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
..
helpers fix: normalize developer role to system for OpenAI-format providers (#1011) 2026-05-11 15:57:28 +07:00
request fix(claude): forced tool_choice 400 on cc/ OAuth route 2026-06-06 12:54:01 +07:00
response Fix codex 2026-05-26 11:35:39 +07:00
formats.js feat: add CommandCode provider support 2026-05-07 23:01:33 +07:00
index.js feat: add CommandCode provider support 2026-05-07 23:01:33 +07:00