Skip to content

Opencode randomly stops responses #34473

Closed as not planned
Closed as not planned

Description

@dattarohu-coder

Description

OpenCode version: v1.17.11 desktop.

I'm using the big pickle model, and giving it a prompt, but it ALWAYS randomly stops the response. No error gets thrown, it just plays the session complete sound, and stops responding. sometimes it stops while thinking, and sometimes it stops before it even starts to process the prompt and do anything. I tried using the terminal version too, and the same issue happens there. This has genuinely been annoying me for the past 2-3 days, and I use OpenCode daily. If anyone could look into this, it would be much appreciated.

Plugins

The only plugin I'm using is openqueue

OpenCode version

desktop 1.17.11

Steps to reproduce

Literally input any prompt

Screenshot and/or share link

No response

Operating System

Windows 10

Terminal

No response

Activity

  1. github-actions commented on Jun 29, 2026

    @github-actions
    Contributor

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

    Please review those issues and add any additional context (such as logs or screenshots) that might help distinguish your case if it's different.

  2. nexxeln commented on Jun 30, 2026

    @nexxeln
    Contributor

    can you export the session and attach it please?

  3. dattarohu-coder commented on Jul 1, 2026

    @dattarohu-coder
    Author

    can you export the session and attach it please?

    https://opncd.ai/share/cOed0ly7
    I recently updated to the latest update, it now gets a little farther, but in the shared link, you can see that it clearly gets cut off while thinking

  4. Elixir-Piloting commented on Aug 18, 2026

    @Elixir-Piloting

    yeah, and as a go subsciber every time i send a "continue" that is getting counted as a message and deducted from my quota

  5. omani commented on Aug 21, 2026

    @omani

    I dont know how many times I wrote "continue" today. maybe more than 20 times. on MiMo. opencode version 1.18.19. it stops every 4 minutes or so. on an average it stops every 5 minutes.

  6. omani commented on Aug 22, 2026

    @omani
    Image

    absolute shitshow right now.

  7. Greencus commented on Aug 22, 2026

    @Greencus

    this is also constantly happening for me

  8. dynched commented on Aug 31, 2026

    @dynched

    seeing the same behavior

    Image
  9. paciox commented on Sep 7, 2026

    @paciox

    Keeps doing it to me all the time. It just stops mid-sentence/reasoning for NO reason. I can't run a plan or any long-horizon coding without being at the pc because it randomly stops during reasoning.

    Sometimes it just doesn't do it, but most of the time does.

    Also it's stubborn against using subagents even if I ask to. My Qwen 3.8 instance has low context about 65k, and I specifically ask to break tasks in small chunks to let alone agents with full context break those small tasks and report to main session.

    It ignores it and doesn't spawns any subagent.

    Image
  10. awaescher commented on Sep 16, 2026

    @awaescher

    Same for me, I first found this to happen in OpenChamber (reported here) with Ox-Alpha and some local Qwen 3.8 models, but found out that the underlying OpenCode seems to have the issue:

    Image
  11. awaescher commented on Sep 16, 2026

    @awaescher

    I found out that in every chat that got cut off, the output tokens were exactly at 32000 tokens:

    Image

    Increasing the max output tokens for oMLX in my case did not work, so it seems to be an OpenCode limit.

    Image
  12. awaescher commented on Sep 16, 2026

    @awaescher

    Okay, this led me to a whole bunch of related issues but it all boils down to this: #1735

    Setting OPENCODE_EXPERIMENTAL_OUTPUT_TOKEN_MAX actually works. Defining max_tokens in the OpenCode provider config does not work (yet).

    Image
  13. thdxr commented on Oct 11, 2026

    @thdxr
    Member

    Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.

    — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

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