anomalyco / anomalyco/opencode

Intermittent tool‑call failures: tool‑invocation commands are printed but not actually executed.

Open
#43,151 1 comment 0 reactions 1 assignee View on GitHub

@Hona is already working on this.

Since Aug 18, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

Intermittent tool‑call failures: tool‑invocation commands are printed but not actually executed.

Plugins

none

OpenCode version

1.18.18

Steps to reproduce

Reproduction Steps

  1. Invoke the read tool multiple times within a conversation
  2. Some calls succeed and return results
  3. Some calls terminate after printing content similar to the snippet below, without actual execution:
    "Called read (tooluse_xxx) with args: {...}"

Environment Information

  • OS: Windows (win32)
  • Working directory contains Chinese‑language paths: E:\文档\服务
  • Date: 2026‑08‑18

Expected Behavior
Every tool call shall be executed and return results.

Actual Behavior
Random tool‑call failures; invocation parameters are printed, yet no execution takes place.

Additional Information
Using cc‑switch to access opus4‑5 via newapi‑sub2api reverse‑proxy, with Anthropic‑compatible API format.

Screenshot and/or share link
Image
Operating System

Windows 11

Terminal

Warp

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.