Skip to content

fix(bots): keep grok reasoning out of replies - #1084

Merged
nixuuu merged 1 commit into
devfrom
fix/hide-thinking-indicator
Nov 21, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/hide-thinking-indicator

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 21, 2026

Copy link
Copy Markdown
Member

Change

Grok sends reasoning as separate ACP items. The gateway now uses each item's type to keep reasoning out of the streamed and saved bot reply. Codex bots can still stream text deltas before an item start.

The fix applies to replies processed by the updated gateway.

Verification

  • The new regression test reproduced the leak before the fix and passed after it. It checks the live reply after the gateway records a reasoning delta and checks the saved reply once the bot finishes.
  • 32 integration tests passed across bots-harness.test.ts and bots-stop.test.ts. The Grok regression passed again on the final diff.
  • Lint, formatting and git diff --check passed for the edited files. GitHub CI runs the full verification gate.

Fixes: #104

@nixuuu
nixuuu enabled auto-merge (squash) November 21, 2026 15:46
@nixuuu
nixuuu merged commit d9bc8ad into dev Nov 21, 2026
16 checks passed
@nixuuu
nixuuu deleted the fix/hide-thinking-indicator branch November 21, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant