Skip to content

AI_APICallError: tool_use ids were found without tool_result blocks immediately after #1662

@ShamanicArts

Description

@ShamanicArts

On claude pro - sonnet 4

AI_APICallError: messages.13:
`tool_use` ids were found without
`tool_result` blocks immediately
after:
toolu_01CfJCsh21fK1pAXsXWYJYBA,
toolu_01NoqnwsaxoK3AYM2FyrxmjN.
Each `tool_use` block must have a
corresponding `tool_result` block
in the next message.

happpens regularly . conversation cannot be continued without switching to a different model

https://opencode.ai/s/gkaS8vZY

ubuntu via WSL

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions