Skip to content

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

test(attachments): update context passing in provider tests

Steven Enamakel446821beb418
diff --git a/crates/openhuman-core/src/attachments/provider_context_tests.rs b/crates/openhuman-core/src/attachments/provider_context_tests.rs
index c81267ffe2..ea0bb95153 100644
--- a/crates/openhuman-core/src/attachments/provider_context_tests.rs
+++ b/crates/openhuman-core/src/attachments/provider_context_tests.rs
@@ -27,7 +27,7 @@ fn owner_media_wrapper_does_not_keep_a_turn_context_alive() {
&dispatch,
Arc::new(Probe::default()),
Arc::new(Config::default()),
- ModelProfile::default(),
+ Some(ModelProfile::default()),
);
drop(dispatch);
drop(context);
diff --git a/crates/openhuman-core/src/attachments/provider_routing_tests.rs b/crates/openhuman-core/src/attachments/provider_routing_tests.rs
index 3bf744c9cb..77d6344d5f 100644
--- a/crates/openhuman-core/src/attachments/provider_routing_tests.rs
+++ b/crates/openhuman-core/src/attachments/provider_routing_tests.rs
@@ -76,7 +76,7 @@ fn controlled_wrapper(
&crate::core::runtime::DispatchCtx::default(),
inner,
config,
- profile,
+ Some(profile),
)
}
fn user_request(blocks: Vec<ContentBlock>) -> ModelRequest {