From 80bc428b37dcf18cfcd216621a0063a2999bede6 Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Thu, 17 Jul 2025 16:44:50 -0700 Subject: [PATCH] failing test --- codex-rs/core/src/config.rs | 6 +++--- codex-rs/tui/src/app.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/codex-rs/core/src/config.rs b/codex-rs/core/src/config.rs index bcc4e9cc08..f89d5f6ade 100644 --- a/codex-rs/core/src/config.rs +++ b/codex-rs/core/src/config.rs @@ -725,9 +725,9 @@ disable_response_storage = true query_params: None, http_headers: None, env_http_headers: None, - request_max_retries: None, - openai_stream_max_retries: None, - openai_stream_idle_timeout_ms: None, + request_max_retries: Some(4), + openai_stream_max_retries: Some(10), + openai_stream_idle_timeout_ms: Some(300_000), }; let model_provider_map = { let mut model_provider_map = built_in_model_providers(); diff --git a/codex-rs/tui/src/app.rs b/codex-rs/tui/src/app.rs index 397c0dc9a4..d8af5d33be 100644 --- a/codex-rs/tui/src/app.rs +++ b/codex-rs/tui/src/app.rs @@ -26,7 +26,7 @@ use std::thread; use std::time::Duration; /// Time window for debouncing redraw requests. -const REDRAW_DEBOUNCE: Duration = Duration::from_millis(100); +const REDRAW_DEBOUNCE: Duration = Duration::from_millis(10); /// Top-level application state: which full-screen view is currently active. #[allow(clippy::large_enum_variant)]