Skip to content

agent keeps stopping abruptly #38749

Closed as not planned
Closed as not planned

Description

@TheMikeyRoss

Description

Image Image

that's basically most of the session, it stops, and I tell it to continue and so on.. I deleted opencode cache, I closed opencode desktop and opened it again. I tried pretty much everything and still same issue.

I'm using Deepseek v4 flash free max

Plugins

none

OpenCode version

v1.18.4

Steps to reproduce

  1. start a new session and ask the agent to do something
  2. it will stop all of a sudden
  3. tell it to continue
  4. it thinks for a bit and then stops
  5. repeat

Screenshot and/or share link

No response

Operating System

Windows 10

Terminal

Desktop app

Activity

  1. github-actions commented on Jul 24, 2026

    @github-actions
    Contributor

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

    If your issue is related to the DeepSeek model stopping silently, #35689 contains a detailed root cause analysis and potential workaround (disabling thinking mode on the model).

  2. VeilLP commented on Jul 24, 2026

    @VeilLP

    this problem has in linux

  3. TheMikeyRoss commented on Jul 24, 2026

    @TheMikeyRoss
    Author

    upon further testing i noticed this issue occurs when i have other sessions open.. So when i close all the sessions and then close OpenCode desktop and then open Opencode desktop again and start a new session the problem seems to disappear thankfully

    To replicate:

    1. start opencode desktop
    2. start a session and use it normally
    3. when you're done with that session don't close it
    4. start another session and use it normally
    5. that second session will keep abruptly stopping.
    6. close both sessions
    7. close opencode desktop
    8. open opencode desktop again (you should see the project page with all the sessions listed)
    9. start a new session
    10. the issue will not occur
  4. aplufr commented on Jul 24, 2026

    @aplufr

    I'm having the same issue here and with only one opencode tui session running. Switched to another models doesn't have the issue. Opencode 1.18.3. Was working fine yesterday.

  5. BarnoTD commented on Jul 27, 2026

    @BarnoTD

    I can confirm this @aplufr . opencode CLI 1.18.7 abruptly stops working with DeepSeek V4 Flash Free— No errors, no alerts. Just a sudden stop. sending prompts like "continue" or "DO NOT QUIT WITHOUT verifying a successfull build" do not seem to fix this issue. Suggesting a provider issue.

  6. VooDisss commented on Jul 28, 2026

    @VooDisss

    @BarnoTD Same issues with opencode Zen/Go models - I was using version 1.15.12 and then upon these issues of the provider (didn't know at the time) I upgraded to 1.18.8 and getting the same issues - the models are unresponsive. This is definetly a provider (opencode) issue, as the same happens for any model I tried on opencode Go.

    Sometimes Zen free DSV4 flash model works momentarily, but the input processing time takes a long time at around 2K TPS.

  7. retrievaaaa commented on Aug 21, 2026

    @retrievaaaa

    having the same problem trying ox alpha!

  8. omani commented on Aug 22, 2026

    @omani

    opencode is unusable right now. I have to type "continue" every 10 minutes. Im doing that for 9 hours now. every 5 minutes. imagine that.

  9. omani commented on Aug 22, 2026

    @omani

    worth mentioning: I hadnt had this problem with 1.18.17 really. then I had to update to 1.18.18 and I got "Aborted" and some Rust errors (I dont know why, since opencode is not written in rust). now with 1.18.19, additionally it stops responding.

  10. omani commented on Aug 22, 2026

    @omani
    Image

    absolute shitshow right now.

  11. 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