Skip to content

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

test(inference): adapt readiness test to scripted model replies signature

Steven Enamakelb02e664b8a2c
diff --git a/crates/openhuman-core/src/inference/readiness_tests.rs b/crates/openhuman-core/src/inference/readiness_tests.rs
index 4557f783fc..185fe4d522 100644
--- a/crates/openhuman-core/src/inference/readiness_tests.rs
+++ b/crates/openhuman-core/src/inference/readiness_tests.rs
@@ -49,9 +49,9 @@ async fn cached_probe_serves_definitive_negative_results() {
ChatModelEntry {
build: Arc::new(|_| {
Ok((
- Arc::new(tinyagents_harness::testkit::ScriptedModel::replies([
- "ready",
- ])),
+ Arc::new(tinyagents_harness::testkit::ScriptedModel::replies(
+ ["ready"].to_vec(),
+ )),
"fixture-model".to_string(),
))
}),