GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — AI_APICallError: messages.3: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01G5ipgNZWmDHuV6cvzyQpfH. Each `tool_use` block must have a corresponding `tool_result` block in the next message. · Issue #2214 · anomalyco/opencode

AI_APICallError: messages.3: tool_use ids were found without tool_result blocks immediately after: toolu_01G5ipgNZWmDHuV6cvzyQpfH. Each tool_use block must have a corresponding tool_result block in the next message. #2214

New issue
Copy link
New issue
Copy link
Closed
Closed
AI_APICallError: messages.3: tool_use ids were found without tool_result blocks immediately after: toolu_01G5ipgNZWmDHuV6cvzyQpfH. Each tool_use block must have a corresponding tool_result block in the next message.#2214
Copy link
Assignees
thdxr

Description

@CestDiego
CestDiego
opened on Aug 23, 2025
Issue body actions

Recently been getting these kind of messages when i interrupt a response mid flight in plan mode.

Reacted by Lukáš Loukota, Lucas Pedro Bordignon and Prayson Wilfred Daniel

Activity

  1. rekram1-node
    assigned
    thdxr
    on Aug 23, 2025
  2. garrett-hopper commented on Aug 25, 2025

    @garrett-hopper
    garrett-hopper
    on Aug 25, 2025
    More actions
    Image

    Not much helpful context on why I received this unfortunately. Everything working fine prior. Claude Sonnet 4 model. Opencode v0.5.18

    After it occurs, the session is borked going forward. New messages result in the same error. Restarting opencode and resuming the session doesn't change anything.

    Reacted by Anton Ukhanev
  3. garrett-hopper commented on Aug 25, 2025

    @garrett-hopper
    garrett-hopper
    on Aug 25, 2025
    More actions

    It looks like /undo one message before the error started to occur does resolve the issue. (Though obviously losing the results of that message which was actually successful.)

    Reacted by Braden Steffaniak
    Reacted by Duncan Ogilvie and Prayson Wilfred Daniel
  4. thdxr commented on Mar 25, 2026

    @thdxr
    thdxr
    on Mar 25, 2026
    Member
    More actions

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

  5. thdxr
    closed this as completedon Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @thdxr
    thdxr

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.