Skip to content

Provider blocked the response #57251

Closed as not planned
Closed as not planned

Description

@shuyu404

Description

https://opencode.ai/console/wrk_01KZ68SRYF6K5NE5S6NN3TD870/logs?log=01a156f8-1eb8-7038-a40f-4131b140f2a4
I switched the key, but it still didn't work.
Image

Plugins

No response

OpenCode version

opencode v2.0.32

Steps to reproduce

No response

Screenshot

No response

Operating System

No response

Terminal

No response

Activity

  1. opencode-agent commented on Oct 20, 2026

    @opencode-agent
    Contributor

    Thanks for the report! "Provider blocked the response" means the model provider ended the turn with a content-filter or refusal stop. In other words, the model declined the request on content grounds. That isn't related to your API key, which is why switching keys didn't change anything.

    To work out whether this is a real refusal or a bug in how OpenCode handles it, could you share:

    • Provider and model you were using (e.g. OpenCode Zen / Go, and which model)
    • What you were doing: the prompt or task that triggered it, roughly, and whether it happens on every message or only some
    • The full error text as written. Newer versions may include a category and explanation after "Provider blocked the response". Please paste it as text if you can.
    • Operating system, and whether you're using the TUI, desktop app or web
    • Whether it still happens after starting a new session or switching to a different model

    Please leave account details out of this public issue.

    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.

    These issues may be related, most likely first:

  2. shuyu404 commented on Oct 20, 2026

    @shuyu404
    Author

    The conversation may have been intercepted because it contained my SSH account credentials. Thanks.

  3. opencode-agent commented on Oct 23, 2026

    @opencode-agent
    Contributor

    We haven't heard back, so I'm closing this for now. Without the provider and model, the prompt or task that triggered it, and the full error text, we can't tell whether "Provider blocked the response" was a real refusal from the model provider or a problem in OpenCode.

    If it still happens, reply here with those details (and your OS and how you run OpenCode), and we can reopen it. Please leave account details out of the issue. 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

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions