v2.3.7: 并行工具调用 index 修复 / Parallel Tool Call Index Fix
v2.3.7 - 并行工具调用 index 修复 / Parallel Tool Call Index Fix
🐛 修复
- 流式响应并行工具调用 index 修复 — 多个 tool_call(如 Read + Bash)的
index全部为0导致 Anthropic 流式转换器合并为同一 slot,name 被覆盖、arguments 被拼接成乱码 JSON,客户端报参数缺失。现为每个 tool_call 分配唯一 index
💡 no-tools 版本见 v2.3.7-no-tools
English
🐛 Fixed
- Streaming parallel tool call index fix — all tool calls (e.g. Read + Bash) had
index=0, causing the Anthropic streaming converter to merge them into a single slot, overwriting names and corrupting arguments. Each tool call now gets a unique index
💡 no-tools version: v2.3.7-no-tools