Update turn.rs

This commit is contained in:
rhan-oai
2026-05-20 15:00:06 -07:00
committed by Roy Han
parent 0bb3a2bbd5
commit c9c6091da4

View File

@@ -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),
}),