Skip to content

Commit 88a0030

Browse files
fix(provider-grok): Grok follow-ups queue instead of cancelling the running tool
Steering Grok by interrupt-restart cancels its prompt, which kills the foreground tool the user wanted to finish. Grok now opts out of interrupt-restart steering, as Copilot does, so a follow-up waits for the turn to end. Fixes #27014 Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent aa8a625 commit 88a0030

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎packages/provider-grok/src/server/adapter.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ const GrokProviderCapabilitiesV2 = {
117117
...AcpProviderCapabilitiesV2.checkpointing,
118118
providerCanReadConversationSnapshot: true,
119119
},
120+
// Cancelling a Grok prompt kills its running foreground tool.
121+
turns: { ...AcpProviderCapabilitiesV2.turns, supportsSteeringByInterruptRestart: false },
120122
} satisfies OrchestrationV2ProviderCapabilities;
121123

122124
export interface GrokAdapterV2Options {

0 commit comments

Comments
 (0)