test: refresh fork-context expectations

This commit is contained in:
Friel
2026-04-01 21:39:46 +00:00
parent 4186f55515
commit 5a89bb1c4e
3 changed files with 31 additions and 9 deletions
@@ -413,8 +413,7 @@ async fn spawned_child_receives_forked_parent_context() -> Result<()> {
}
#[tokio::test(flavor = "multi_thread", worker_threads = 2)]
async fn spawn_agent_requested_model_and_reasoning_override_inherited_settings_without_role()
-> Result<()> {
async fn spawn_agent_inherits_parent_model_and_reasoning_without_role() -> Result<()> {
skip_if_no_network!(Ok(()));
let server = start_mock_server().await;
@@ -429,10 +428,10 @@ async fn spawn_agent_requested_model_and_reasoning_override_inherited_settings_w
)
.await?;
assert_eq!(child_snapshot.model, REQUESTED_MODEL);
assert_eq!(child_snapshot.model, INHERITED_MODEL);
assert_eq!(
child_snapshot.reasoning_effort,
Some(REQUESTED_REASONING_EFFORT)
Some(INHERITED_REASONING_EFFORT)
);
Ok(())