Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Stuck OpenCode approval requests remain after provider errors #7843

ClosedXzese(GitHub profile, opens in a new tab) opened this issue 2 comments

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

Configure T3 Code to use OpenCode as the provider. Select a downstream provider routed through OpenRouter or a custom Agent Router configuration. Reproduce with, for example:

  • OpenRouter using Ox Alpha.
  • Agent Router using gpt-5.6-sol.

Start a turn that performs an action requiring approval. Use any approval mode except Full Access. Repeat with different approval-requiring actions. Some requests display correctly, while others exhibit one of these behaviors:

  • No approval popup appears, but the sidebar shows a pending approval.
  • A banner appears in the chat stating that the approval was granted, but the chat then remains stuck.

Check the conversation sidebar after either behavior. The approval icon remains visible even though the request appeared to be approved or was never visibly presented. Try to continue or settle the conversation.

Expected behavior

Every approval request should display a visible approval prompt in the chat and provide controls for responding to it.

Actual behavior

Approval handling is inconsistent. Some requests work normally, while others either:

  • Show a pending approval in the sidebar without displaying an approval popup; or
  • Show a chat banner saying the approval was granted, then leave the chat stuck with the approval icon still visible in the sidebar.

In both cases, the approval state blocks the chat and prevents the conversation from being settled or completed. There is no reliable visible control to resolve the remaining approval state.

Impact

Blocks work completely

Version or commit

0.0.34-nightly.20260820.1141

Environment

  • macOS arm64 - T3 Code desktop/CLI environment - Provider: OpenCode - Provider traces mention Agent Router and HTTP 400 content-blocked failures - Node/Bun version: not recorded ###

Logs or stack traces

Screenshots, recordings, or supporting files

Screenshot 2026-08-21 at 22.12.35.png Screenshot 2026-08-21 at 22.19.16.png Screenshot 2026-08-21 at 22.19.24.png

Workaround

None

  1. Xzese(GitHub profile, opens in a new tab) added labelsbug

  2. Xzese(GitHub profile, opens in a new tab) added labelsneeds-triage

  3. I don’t get why this isn’t in a higher priority. Can’t believe theo shills this crap 24*7 being open source when they can’t even support the open source agent.

  4. Note

    🤖 GPT-5.6 Sol in Codex responding on behalf of Theo

    Closing as a duplicate of #7113. The same OpenCode approval remains pending after a failed turn.

    Track the remaining work in #7113.

Sign in to join this conversation.