mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Require confirmation for safety-buffered retries (#42380)
## What changed - Show a confirmation before stopping a safety-buffered attempt and retrying with the server-selected faster model. - Explain that the retry starts a new thread, preserves actions already taken, and may use a less capable model; allow the user to keep waiting instead. - Dismiss the buffering or confirmation view when the response starts or the turn is no longer eligible for retry. - Refresh the buffering copy and wrap confirmation text correctly in narrow terminals. ## Testing - Cover retry confirmation, cancellation, turn completion, response startup, stale updates, and narrow-terminal rendering. GitOrigin-RevId: 013bc47174811dd104b421774577c2808c732bfa
This commit is contained in:
1 parent
69cebb5d15
commit
0588fc941c
12 files changed
+287
-34
No files matched your search
@@ -41,10 +41,6 @@ impl App {
|
||||
return;
|
||||
}
|
||||
if !self.chat_widget.can_retry_safety_buffered_turn(&turn_id) {
|
||||
self.app_event_tx.send(AppEvent::UpdateModel(model));
|
||||
self.app_event_tx.send(AppEvent::UpdateReasoningEffort(Some(
|
||||
ReasoningEffortConfig::Low,
|
||||
)));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user