Skip to content

Most sessions eventually gets an tool_use error #8377

@arielpollack

Description

@arielpollack

Description

Thanks for this amazing platform!

I didn't catch a specific way to reproduce, but after some time, most of my sessions gets an error from which all prompts fail, until I fork an earlier message (but lose recent progress)

messages.161: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_014DFJtopfcPpBp6EjbjZygY. Each `tool_use` block must have a corresponding `tool_result` block in the next message.

Plugins

oh my opencode

OpenCode version

1.1.18

Steps to reproduce

Just use the sessions, no specific prompts or instructions.
Happened in an existing project, and also a fresh project I started from scratch with OpenCode.

Screenshot and/or share link

Image

When I /share there's an error "Failed to share session"

Operating System

maxOS 15.7.3

Terminal

Warp

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions