From 394b50eafb3609bbccb0cf0ea3b553b597636fa2 Mon Sep 17 00:00:00 2001 From: starr-openai Date: Tue, 5 May 2026 15:53:36 -0700 Subject: [PATCH] Use test environment manager in chat widget helper Keep the direct ChatWidget test constructor aligned with the production initializer after wiring the active environment manager through the TUI. Co-authored-by: Codex --- codex-rs/tui/src/chatwidget/tests/helpers.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/codex-rs/tui/src/chatwidget/tests/helpers.rs b/codex-rs/tui/src/chatwidget/tests/helpers.rs index 56fe0b5b5d..932854da0a 100644 --- a/codex-rs/tui/src/chatwidget/tests/helpers.rs +++ b/codex-rs/tui/src/chatwidget/tests/helpers.rs @@ -195,6 +195,7 @@ pub(super) async fn make_chatwidget_manual( raw_output_mode: cfg.tui_raw_output_mode, config: cfg, effective_service_tier, + environment_manager: Arc::new(codex_exec_server::EnvironmentManager::default_for_tests()), current_collaboration_mode, active_collaboration_mask, has_chatgpt_account: false,