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-12 16:53:18 +08:00
2026-03-18 15:03:24 +08:00
2026-03-19 17:42:59 +08:00
2026-02-08 12:05:39 +08:00
2026-02-08 12:05:39 +08:00
2026-02-10 11:42:39 +08:00
2026-03-19 21:08:20 +08:00
2026-03-19 17:42:59 +08:00
2026-03-18 16:22:19 +08:00
2026-03-19 17:42:59 +08:00
2026-03-17 15:38:18 +08:00
2026-03-09 19:55:18 +08:00
2026-02-28 15:01:20 +08:00
2026-03-18 14:13:52 +08:00