mirror of
https://github.com/openai/codex.git
synced 2026-05-15 08:42:34 +00:00
Skip mid-turn compaction error event on interruption
This commit is contained in:
@@ -4538,6 +4538,9 @@ pub(crate) async fn run_turn(
|
||||
)
|
||||
.await
|
||||
{
|
||||
if matches!(err, CodexErr::Interrupted) {
|
||||
return None;
|
||||
}
|
||||
let event = EventMsg::Error(
|
||||
err.to_error_event(Some("Error running auto compact task".to_string())),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user