From c9c6091da45b3020011dbf3e104ec4399d0034e2 Mon Sep 17 00:00:00 2001 From: rhan-oai Date: Wed, 20 May 2026 15:00:06 -0700 Subject: [PATCH] Update turn.rs --- codex-rs/core/src/session/turn.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-rs/core/src/session/turn.rs b/codex-rs/core/src/session/turn.rs index 3df8052902..d54b43ff4b 100644 --- a/codex-rs/core/src/session/turn.rs +++ b/codex-rs/core/src/session/turn.rs @@ -720,7 +720,7 @@ impl AutoCompactTurnLimiter { turn_context, EventMsg::Error(ErrorEvent { message: format!( - "Codex stopped after {MAX_AUTO_COMPACTIONS_PER_TURN} automatic compactions in this turn because the context remained too large. Queued input for this turn was not processed; start a new thread or reduce earlier history before retrying." + "Codex stopped after {MAX_AUTO_COMPACTIONS_PER_TURN} automatic compactions in this turn because the context remained too large. Start a new thread or reduce earlier history before retrying." ), codex_error_info: Some(CodexErrorInfo::ContextWindowExceeded), }),