Rose Ding
963494ec6f
fix: Anthropic tool schema 转 Responses API 时补充缺失的 properties 字段
当 Claude Code 发来的 MCP tool 的 input_schema 为 {"type":"object"} 且缺少
properties 字段时,OpenAI Codex 后端会拒绝并报错:
Invalid schema for function '...': object schema missing properties.
新增 normalizeToolParameters 函数,在 convertAnthropicToolsToResponses 中
对每个 tool 的 InputSchema 做规范化处理后再赋给 Parameters。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 21:08:20 +08:00
..
2026-03-19 16:56:18 +08:00
2026-03-19 21:08:20 +08:00
2026-03-10 11:20:10 +08:00
2026-03-01 15:45:44 +08:00
2026-02-28 15:01:20 +08:00
2026-03-11 15:21:52 +08:00
2026-03-11 15:21:52 +08:00
2026-02-05 20:17:53 +08:00
2026-03-02 16:04:20 +08:00
2026-02-28 15:01:20 +08:00
2026-02-28 15:01:20 +08:00
2026-02-28 15:01:20 +08:00
2026-02-07 17:39:18 +08:00
2026-03-09 21:53:46 +08:00
2026-01-04 19:28:20 +08:00
2026-03-02 16:04:20 +08:00
2026-03-02 16:04:20 +08:00
2026-03-16 20:22:10 +08:00
2026-01-04 19:28:20 +08:00
2026-01-05 20:43:03 -06:00
2026-02-28 15:01:20 +08:00
2026-03-18 14:16:50 +08:00