9router/open-sse/translator
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
..
concerns fix(image): pin DNS-resolved IP to prevent SSRF via DNS rebinding (GHSA-cmhj-wh2f-9cgx) 2026-06-17 11:02:04 +07:00
formats fix(translator): normalize tools to Anthropic-native shape for non-Anthropic providers 2026-06-21 16:26:17 +07:00
request fix(kiro): honor thinking effort budgets 2026-06-18 15:14:42 +07:00
response feat(kiro): headless API-key auth + direct Claude/Kiro route 2026-06-17 10:01:30 +07:00
schema Refactor 2026-06-15 18:18:04 +07:00
formats.js feat: add CommandCode provider support 2026-05-07 23:01:33 +07:00
index.js feat(kiro): headless API-key auth + direct Claude/Kiro route 2026-06-17 10:01:30 +07:00