Before submitting#
Related open work: #6396 (not merged).
Area#
apps/server
Steps to reproduce#
- Open a Grok-backed thread after the Grok usage limit is exhausted.
- Send a message.
Expected behavior#
The turn fails visibly in T3 with a usage-limit error, the session returns to ready, and the selected Grok model stays selected.
Actual behavior#
Grok reports exhaustion through _x.ai/session/prompt_complete with stopReason: "rate_limit" (or "error"). T3 normalizes the unknown stop reason to end_turn and treats the prompt as a successful empty completion, so no error message appears in the thread.
Impact#
Major degradation or frequent failure
Version or commit#
main
Environment#
Grok provider in T3 Code (web/desktop)
Thanks for the report. We believe this is fixed by PR #8358.
Grok rate-limit completions now fail the turn with a visible usage-limit message. The fix also returns the session to ready, clears the active turn, and keeps the selected model.
I'm closing this as fixed as part of an automated pass on all open issues. If this still happens in a build that includes PR #8358, please reply with the provider events and the final session state, and we can reopen it.