Skip to content

OpenCode chat produces blank output after sending messages — happens with Free Models too #48623

Closed as not planned

Description

@Jayesh01323

I’m experiencing a persistent issue in OpenCode where chat requests are not producing any visible model response.

The problem occurs in both new chats and previously existing chats.

What happens
I open OpenCode and go to a new session or open an existing/previous conversation.
I type a message and send it.
The message appears to be sent.
OpenCode makes a sound/beep, but no model response is generated or displayed.
The output/response area remains completely blank.
There is no useful error message shown in the UI.
Scope of the problem

This is not limited to one conversation or one model.

I have reproduced the issue with:

New sessions
Existing/previous sessions
Free Models Router / free models
Multiple model attempts

For example, I sent a GitHub URL such as:

https://github.com/D4Vinci/Scrapling

but OpenCode does not produce any response.

Expected behavior

After sending a message, OpenCode should process the request and display the model response, or show a clear error explaining why the request failed.

Image

Actual behavior

The request appears to be sent, but the response is completely blank and nothing is generated.

The issue appears to affect the entire chat functionality rather than a specific conversation or model.

I have attached a screenshot showing the problem.

Please investigate whether this is related to the OpenCode UI, request handling, model/router integration, session state, or another underlying issue.

Activity

  1. github-actions commented on Sep 12, 2026

    @github-actions
    Contributor

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

    Please review those issues and add any new information there if your situation matches.

  2. opencodejr commented on Oct 28, 2026

    @opencodejr
    Contributor

    Thanks for the report, @Jayesh01323! To look into why responses come back blank, we need a few more details:

    1. OpenCode version: the output of opencode --version.
    2. Platform: operating system, how you installed OpenCode (npm, brew, install script, desktop app…), and whether you're using the TUI, desktop app or web UI (plus which terminal, if it's the TUI).
    3. Provider and model: which provider "Free Models Router" is (for example OpenCode Zen's free models or OpenRouter's free router), and the exact model IDs you tried.
    4. Logs: please run opencode --print-logs --log-level DEBUG, send one message that comes back blank, and paste the relevant output here (remove any API keys). The log files in ~/.local/share/opencode/log/ work too.
    5. Does it work with any other provider or model, for example a paid one or one with your own API key?

    You can reply here with the details or edit the issue. If you edit it, please also leave a comment saying you've updated it, so we know when you're done editing.

  3. opencodejr commented on Oct 31, 2026

    @opencodejr
    Contributor

    Closing this for now because we haven't heard back. To reproduce the blank responses we need your OpenCode version (opencode --version), your OS and install method, which provider and models you used, and debug logs from a failed message (opencode --print-logs --log-level DEBUG). If this still happens, reply here with those details and we can reopen it. Thanks, @Jayesh01323!

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions