9router/open-sse
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
..
config fix(mitm): Kiro binary EventStream crash + add models & TTS tool filtering 2026-06-06 11:31:52 +07:00
executors fix(codex): durable OAuth refresh lifecycle 2026-06-06 11:04:36 +07:00
handlers fix(mitm): Kiro binary EventStream crash + add models & TTS tool filtering 2026-06-06 11:31:52 +07:00
rtk feat(caveman): add wenyan classical Chinese levels and sync upstream prompts 2026-06-06 12:35:08 +07:00
services fix(codex): durable OAuth refresh lifecycle 2026-06-06 11:04:36 +07:00
transformer feat: enhance request handling and error management in chatCore and streamToJsonConverter 2026-02-15 12:02:53 +07:00
translator fix(claude): forced tool_choice 400 on cc/ OAuth route 2026-06-06 12:54:01 +07:00
utils fix(claude): forced tool_choice 400 on cc/ OAuth route 2026-06-06 12:54:01 +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 fix(codex): durable OAuth refresh lifecycle 2026-06-06 11:04:36 +07:00