Skip to content

Missing retry if /btw command encounters an error #55487

Closed

Description

@0wwafa

Description

If a server error happens during the /btw command. There is no retry system.

Plugins

No response

OpenCode version

No response

Steps to reproduce

Quite self explanatory.
Use the /btw command and cause a transient network error

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. opencode-agent commented on Oct 14, 2026

    @opencode-agent
    Contributor

    Thanks for reporting this! If I understand it right, you'd like /btw to recover from transient server or network errors instead of failing straight away.

    From the current code:

    • In the TUI, a failed /btw request only shows an error toast. There's no retry option, and you have to type the question again.
    • On the server, /btw sends a single request to the model. It doesn't seem to get the automatic retry on transient errors that normal session messages get.
    • The desktop/web app's /btw panel already has a Retry button when a request fails.

    I've marked this as a feature request so maintainers can consider it. Until then, re-running /btw with the same question is the only workaround in the TUI.

    Related issues, in case they're useful:

    If you're seeing this somewhere other than the v2 TUI, please reply with your opencode --version and where you're using it.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions