mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-06-06 19:35:44 +02:00
When the Anthropic API returns multiple parallel tool calls in a single assistant message, all tool_result blocks must be sent together in the next message. Previously, each tool result was sent as a separate message, causing Anthropic's API to reject the request with: "tool_use ids were found without tool_result blocks immediately after" This change modifies convertFromMessages() to merge consecutive tool messages into a single message containing all tool_result content blocks. Fixes #375 |
||
|---|---|---|
| .. | ||
| cli | ||
| docs | ||
| experimental | ||
| python-sdk | ||
| rowboat | ||
| rowboatx | ||
| x | ||