Skip to content

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

test(inference): reformat assertion in complete_once tests

Steven Enamakel297509d5c4db
diff --git a/crates/openhuman-core/src/inference/host_runtime/ops/complete_once_tests.rs b/crates/openhuman-core/src/inference/host_runtime/ops/complete_once_tests.rs
index 27c2efad2b..d0845017d9 100644
--- a/crates/openhuman-core/src/inference/host_runtime/ops/complete_once_tests.rs
+++ b/crates/openhuman-core/src/inference/host_runtime/ops/complete_once_tests.rs
@@ -148,5 +148,8 @@ async fn refuses_tools_smuggled_through_provider_options() {
let err = complete_once(&unreachable_endpoint(), request)
.await
.expect_err("tools must not reach the provider via provider_options");
- assert!(err.contains("provider_options may not set `tools`"), "{err}");
+ assert!(
+ err.contains("provider_options may not set `tools`"),
+ "{err}"
+ );
}