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 <noreply@openai.com>
This commit is contained in:
starr-openai
2026-05-05 15:53:36 -07:00
parent 9f2a9b32e7
commit 394b50eafb

View File

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