Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Fix the session-start helper call in the command center test (#48646)

Eric Traut67a709665ac7
diff --git a/codex-rs/tui/src/app/tests/background_task_defaults_tests.rs b/codex-rs/tui/src/app/tests/background_task_defaults_tests.rs
index cbb1932c5d..f9b572d5e8 100644
--- a/codex-rs/tui/src/app/tests/background_task_defaults_tests.rs
+++ b/codex-rs/tui/src/app/tests/background_task_defaults_tests.rs
@@ -820,7 +820,7 @@ async fn command_center_new_restores_blank_drafts_and_builtin_permissions() -> R
.await?;
assert_eq!(app.chat_widget.thread_id(), Some(startup));
app.chat_widget.set_model("gpt-local-choice");
- app.start_fresh_session_with_summary_hint(
+ app.start_fresh_session(
&mut tui,
&mut server,
/*session_start_source*/ None,