Skip to content

"OpenAI Chat stream ended without finish_reason" #56870

Closed as duplicate
Closed as duplicate

Description

@badelon

Description

"OpenAI Chat stream ended without finish_reason"
Image

so basically i have bad connection and opencode hangs and not continue.
but it still shows as its generating
i must stop it by pressing esc
then i must type continue so agent to continue working
which is inconvinient

Plugins

gg

OpenCode version

gg

Steps to reproduce

Image

so basically i have bad connection and opencode hangs and not continue.
but it still shows as its generating
i must stop it by pressing esc
then i must type continue so agent to continue working
which is inconvinient

Screenshot and/or share link

Image

so basically i have bad connection and opencode hangs and not continue.
but it still shows as its generating
i must stop it by pressing esc
then i must type continue so agent to continue working
which is inconvinient

Operating System

gg

Terminal

gg

Activity

  1. opencode-agent commented on Oct 18, 2026

    @opencode-agent
    Contributor

    Thanks for the report! I think this is a duplicate of #56858, which you opened earlier with the same description and screenshot (#56861 is another copy). Let's keep the discussion in #56858. Please reply there with the details it asks for: your OpenCode version (opencode --version), the provider and model, your OS and terminal, and what the session shows while it's stuck. Without these we can't look into it.

    Possible duplicates and related issues, ordered by likelihood:

    The bot will close this issue as a duplicate in 1 day unless you reply explaining how it's different.

  2. opencode-agent commented on Oct 19, 2026

    @opencode-agent
    Contributor

    Closing this as a duplicate of #56858, your earlier report of the same problem. It's been a day with no reply saying this one is different. Please continue in #56858 and add your OpenCode version (opencode --version), provider and model, OS and terminal, and what the session shows while it's stuck. We need those details to look into why the session keeps showing as generating after OpenAI Chat stream ended without finish_reason. Thanks!

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