Skip to content

OpenCode stops generation after tool call #14842

Closed as not planned
Closed as not planned

Description

Description

bash<arg_key>command</arg_key><arg_value>ls -la "/Users/User/Downloads/corpse voice/cleaned/combined_all.wav"</arg_value><arg_key>description</arg_key><arg_value>Check final combined file</arg_value></tool_call><tool_call>bash<arg_key>command</arg_key><arg_value>ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nk=1 "/Users/User/Downloads/corpse voice/cleaned/combined_all.wav" 2>&1 | grep -^ "Duration"</arg_value></tool_call>

This command directly terminates the output stream every time and it lets it be my turn to respond. Agent just quits and doesn't execute and I see this.

Happens in the Desktop OpenCode, not sure about the web

Image

Plugins

No response

OpenCode version

v1.2.10

Steps to reproduce

  1. I can't reproduce it reliably, it happens with tool calling

Screenshot and/or share link

Image

Operating System

MacOS

Terminal

N/A

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    webRelates to opencode on web / desktop
    on Feb 24, 2026
  2. github-actions commented on Feb 24, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  3. SupetZYK commented on Mar 7, 2026

    @SupetZYK

    same problem v1.2.20

  4. whuanle commented on Mar 15, 2026

    @whuanle

    me too(v1.2.26)

    Image
  5. removed
    bugSomething isn't working
    webRelates to opencode on web / desktop
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  6. github-actions commented on Jul 4, 2026

    @github-actions
    Contributor

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

  7. TheBestPessimist commented on Jul 4, 2026

    @TheBestPessimist

    How about we keep this one open instead.

    Bad bot 👎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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