diff --git a/codex-rs/core/src/error.rs b/codex-rs/core/src/error.rs index c2bce1a2e72..6818f3c4ad0 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 {