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-18 10:06:35 +08:00
2026-03-17 19:25:17 +08:00
2026-03-19 21:08:20 +08:00
2026-03-18 15:36:00 +08:00
2026-03-06 10:16:23 +08:00
2026-01-11 23:00:31 +08:00
2026-03-07 15:17:16 +08:00
2026-02-06 07:41:23 +08:00
2026-03-17 20:46:12 +08:00
2026-03-17 20:46:12 +08:00
2026-02-28 15:01:20 +08:00