test: refresh fork-context expectations

This commit is contained in:
Friel
2026-03-30 03:07:31 +00:00
parent cc60cafc50
commit df69f49b6b
3 changed files with 31 additions and 9 deletions

View File

@@ -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(())