Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web): Stop works while a run is still starting #14201

Mergedshivamhwp(GitHub profile, opens in a new tab)merged 2 commits intot3code/codex-turn-mapping fromrefs/pull/14201/headmerged by shivamhwp(GitHub profile, opens in a new tab) View on GitHub

Showing 6 changed files with 16 additions and 2 deletions (loading 3).

x
0 of 6 viewed, 6 left
8 additions and 0 deletionsapps/web/src/components/chat/ChatComposer.tsxModified
View file
@@ -1354,6 +1354,7 @@
isComplete: boolean;
} | null;
isRunning: boolean;
+ canInterrupt: boolean;
followUpBehavior: "queue" | "steer";
alternateShortcutLabel: string | null;
showPlanFollowUpPrompt: boolean;
@@ -1392,6 +1393,7 @@
compact={props.compact}
pendingAction={props.pendingAction}
isRunning={props.isRunning}
+ canInterrupt={props.canInterrupt}
followUpBehavior={props.followUpBehavior}
alternateShortcutLabel={props.alternateShortcutLabel}
showPlanFollowUpPrompt={props.showPlanFollowUpPrompt}
@@ -1519,6 +1521,8 @@
// Session phase
phase: SessionPhase;
+ /** Stop is offered: a run is preparing, starting, or running. */
+ canInterrupt: boolean;
isConnecting: boolean;
isSendBusy: boolean;
canResume: boolean;
@@ -1693,6 +1697,7 @@
forceExpandedOnMobile,