From 5b022c29047816fc9b803334f31c37d40ac1138e Mon Sep 17 00:00:00 2001 From: Thibault Sottiaux Date: Thu, 8 Jan 2026 05:30:33 -0800 Subject: [PATCH] chore: align error limit comment (#8896) --- codex-rs/core/src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-rs/core/src/error.rs b/codex-rs/core/src/error.rs index c2bce1a2e..6818f3c4a 100644 --- a/codex-rs/core/src/error.rs +++ b/codex-rs/core/src/error.rs @@ -22,7 +22,7 @@ use tokio::task::JoinError; pub type Result = std::result::Result; /// Limit UI error messages to a reasonable size while keeping useful context. -const ERROR_MESSAGE_UI_MAX_BYTES: usize = 2 * 1024; // 4 KiB +const ERROR_MESSAGE_UI_MAX_BYTES: usize = 2 * 1024; // 2 KiB #[derive(Error, Debug)] pub enum SandboxErr {