Lightweight coding agent that runs in your terminal
Rust
Update the forked-thread hook test to use `StartThreadOptions` (#44377)
Charlie Marsh5a9eb145c4c0
diff --git a/codex-rs/core/tests/suite/hooks.rs b/codex-rs/core/tests/suite/hooks.rsindex 2ea84ec832..9ec46330f7 100644--- a/codex-rs/core/tests/suite/hooks.rs+++ b/codex-rs/core/tests/suite/hooks.rs@@ -1672,10 +1672,8 @@ print(json.dumps({"hookSpecificOutput": {.thread_manager.fork_thread(ForkSnapshot::TruncateBeforeNthUserMessage(1),- test.config.clone(),+ StartThreadOptions::new(test.config.clone()),test.codex.rollout_path().expect("parent rollout path"),- /*thread_source*/ None,- /*parent_trace*/ None,).await?.thread;