Pass spawn call id in last-N fork test

This commit is contained in:
Friel
2026-05-04 02:42:18 +00:00
parent 53c44175e7
commit 1fa1409c91

View File

@@ -2419,6 +2419,7 @@ async fn spawn_agent_fork_last_n_turns_keeps_only_recent_turns() {
agent_role: None,
})),
SpawnAgentOptions {
fork_parent_spawn_call_id: Some(parent_spawn_call_id.clone()),
fork_mode: Some(SpawnAgentForkMode::LastNTurns(2)),
..Default::default()
},