Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Grok mid-turn send queues instead of interrupting like Claude/Codex #8283

Closedmavenskylab(GitHub profile, opens in a new tab) opened this issue 1 comment

Before submitting

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

Area

apps/server

Steps to reproduce

  1. Open a Grok-backed thread in T3 Code.
  2. Send a prompt that starts a long-running turn (tools still running).
  3. While the turn is still Working, send a follow-up message the way you would with Claude or Codex.

Expected behavior

The follow-up interrupts the in-flight Grok prompt and is taken immediately on the same turn, matching Claude and Codex.

Actual behavior

The follow-up is serialized behind the in-flight ACP session/prompt. Grok keeps working on the original turn and only sees the new message after that prompt finishes.

This is Grok CLI's native queue-on-Enter behavior leaking through T3: the adapter treats mid-turn sendTurn as a steer, but ACP prompts are one-at-a-time, so the steer waits instead of cancelling.

Impact

Major degradation or frequent failure

Version or commit

main

Environment

Grok provider in T3 Code (web/desktop)

Workaround

Press Stop, then send the follow-up as a new turn.

  1. Note

    🤖 Claude Fable 5.1 responding on behalf of Theo

    Fixed in #9154. Thank you for reporting this.

    Root cause was lower than the adapter. T3 sent session/cancel with an empty id field, which Grok CLI parses as a malformed request and drops. So Stop never reached the agent, and the next message queued behind the old prompt. Notifications now go out without an id, Stop cancels the running prompt, and a mid-turn send interrupts and continues the same turn like Claude and Codex do.

    Verified live against Grok CLI 1.0.13 with a capture of every frame on the wire. It will be in the next nightly.

Sign in to join this conversation.