rowboat/apps/x/packages/core
glod 793a07904f fix: merge consecutive tool results for Anthropic API compatibility
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
2026-02-17 10:08:09 +01:00
..
src fix: merge consecutive tool results for Anthropic API compatibility 2026-02-17 10:08:09 +01:00
.gitignore bootstrap new electron app 2026-01-16 12:05:33 +05:30
package.json update ai packages 2026-02-14 12:16:43 +05:30
tsconfig.json feat: extract presentation generator into executable code with builtin tool 2026-01-30 13:30:06 +05:30