9router/open-sse
decolua 45240c19e5 fix(translator): normalize tools to Anthropic-native shape for non-Anthropic providers
Strip `type` field and fold `function.{name,description,parameters}` into
top-level {name, description, input_schema} before forwarding to Claude-format
endpoints. MiniMax (and other Anthropic-compatible providers) reject tools
carrying a `type` field with error code 2013 ("invalid tool type").

Refs #1939

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-21 16:26:17 +07:00
..
config fix(kiro): honor thinking effort budgets 2026-06-18 15:14:42 +07:00
executors fix(codex): preserve custom tools during request normalization 2026-06-21 16:01:45 +07:00
handlers feat(headroom): add proxy lifecycle management + dashboard UI 2026-06-20 10:09:50 +07:00
providers feat(codebuddy-cn): add API key auth + credit quota tracker 2026-06-21 16:12:20 +07:00
rtk feat(headroom): add proxy lifecycle management + dashboard UI 2026-06-20 10:09:50 +07:00
services feat(codebuddy-cn): add API key auth + credit quota tracker 2026-06-21 16:12:20 +07:00
shared refactor(open-sse): registry consolidation + DRY media/oauth/adhoc cleanup 2026-06-14 13:15:48 +07:00
transformer fix(codex): harden streaming timeouts + Responses terminal events 2026-06-06 16:07:43 +07:00
translator fix(translator): normalize tools to Anthropic-native shape for non-Anthropic providers 2026-06-21 16:26:17 +07:00
utils feat(ponytail): introduce "Ponytail" feature for minimalistic code generation 2026-06-20 15:08:11 +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
AGENTS.md feat(headroom): add proxy lifecycle management + dashboard UI 2026-06-20 10:09:50 +07:00
index.js refactor(open-sse): translator DRY + schema enums, bug fixes, dead code cleanup 2026-06-14 18:49:38 +07:00