Skip to content

{"message":"messages.78: tool_use ids were found without tool_result blocks immediately after: toolu_013Ar6KT5dwjTY6oNdZqZ7bJ. Each tool_use block must have a corresponding tool_result block in the next message.","code":"invalid_request_body"} #102

Description

@Shuffzord

Describe the bug

× Model call failed: {"message":"messages.78: tool_use ids were found without tool_result blocks immediately after: toolu_013Ar6KT5dwjTY6oNdZqZ7bJ. Each tool_use block must have a corresponding tool_result block in the next message.","code":"invalid_request_body"}

Its happening daily - random occurence. Basically bricks the session as the model cannot get out of the loop

Affected version

0.0.328 Commit: 3755a93

Steps to reproduce the behavior

It happens randomly during usage -

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions