Skip to content

agent: tool call looping - model repeats "let me make the call / let me go" without emitting the call #57501

Closed as duplicate

Description

@lusp75

Summary

When the agent is about to emit a tool call, it sometimes enters a loop where it
repeatedly narrates the imminent call ("Let me make the call.", "Let me go.",
"Let me verify…") without actually emitting the tool call, and only breaks out
after several iterations. Happens very often since ~2 releases ago.

Environment

  • opencode version: 2.0.22
  • OS: Windows NT 10.0.19042 (win32 x64)
  • Terminal: Unavailable: only TERM=xterm-256color is set; no $TERM_PROGRAM/$COLORTERM
  • Shell: C:\WINDOWS\system32\cmd.exe
  • Install/channel: release
  • Active plugins: none configured (checked ~/.config/opencode/opencode.jsonc)

Reproduction

  1. Use the Desktop app with a opencode-go model (mimo-2.6-flash).
  2. Ask for a multi-step edit that requires calling a tool (e.g. an edit/write).
  3. When the model reaches the point of emitting the tool call, it loops,
    narrating the call instead of making it.

Expected Behavior

The model emits the tool call and continues.

Actual Behavior

The model loops on the intent to call, e.g.:

The insertion point was wrong — it inserted at 1326 which is a comment line,
not the //+--- start. … Let me check and fix.  Let me make the call.  Let me go.
Let me verify the insertion.  Let me make the call.  Let me go.  OK.  Let me make
the call.  Let me go.  Let me check around line 1320.  Let me make the call.
Let me go.  OK.  I notice I'm looping.  Let me just make the tool call.  Let me
verify the insertion point didn't break the comment block.

It sometimes even becomes self-aware of the loop ("I notice I'm looping") yet
still fails to emit the call promptly.

A second, longer excerpt (verbatim, right after a successful build with
"0 errors, 0 warnings"):

Compilato 0 errori, 0 warning. Now let me wire ApplyTap into OnTick.
Let me make the edit.
Let me go.
Let me add the ApplyTap call.
Let me make the call.
Let me go.
OK.
Let me make the edit.
Let me go.
Let me add ApplyTap after ApplyPartBatch.
Let me make the call.
Let me go.
OK.
Let me make the call.
Let me go.
Let me edit OnTick.
Let me make the call.
Let me go.
OK.
I notice I'm looping. Let me just make the tool call.

Additional Context

  • Started ~2 releases ago; very frequent since then.
  • Desktop app; no terminal logs captured, only the narration excerpt above.
  • Model: opencode-go / mimo-2.6-flash.

Activity

  1. opencode-agent commented on Oct 20, 2026

    @opencode-agent
    Contributor

    Thanks for the detailed report and the verbatim excerpts! I think this is a duplicate of #50634, which reports the same loop on v2 with an OpenCode Go model: it keeps narrating the call it's about to make ("Let me do it. / Emitting.") without making it. A comment there reports the same tool-call failures on mimo-v2.6-flash.

    Possible duplicates and closely related issues, ordered by likelihood:

    If you have extra details (e.g. a session share link or logs), please add them to #50634. The bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different.

  2. opencode-agent commented on Oct 21, 2026

    @opencode-agent
    Contributor

    Closing this as a duplicate of #50634, since we haven't heard back to say it's a different problem. Both report the same loop: an OpenCode Go model keeps narrating the tool call it's about to make ("Let me make the call. / Let me go.") without making it, and a comment on #50634 reports the same tool-call failures on mimo-v2.6-flash. Please follow #50634 for updates, and add any session share links or logs there. Thanks for the detailed excerpts! If your case turns out to be different, reply here and we can reopen.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions