Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(subagent-host): reformat session builder call in model resolution test

Steven Enamakelb4d84f12337e
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs
index 67401ffb5d..ba970c250e 100644
--- a/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs
@@ -298,10 +298,9 @@ async fn closing_a_durable_driver_session_cancels_only_its_registered_child() {
.with_identifier_fields("task_id", "subagent_session_id")
.with_required_identifier()
.with_owner_scope(owner_scope.clone())
- .with_sessions(
- std::sync::Arc::new(port.clone()),
- |_| "test-session".to_owned(),
- );
+ .with_sessions(std::sync::Arc::new(port.clone()), |_| {
+ "test-session".to_owned()
+ });
let settled = tokio::time::timeout(
std::time::Duration::from_secs(5),
tinyagents_harness::tool::ToolDispatch::execute(