Skip to content

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

test(inference): include error detail in provider factory assertion

Steven Enamakelc48149501f7f
diff --git a/crates/openhuman-core/src/inference/provider/factory_tests.rs b/crates/openhuman-core/src/inference/provider/factory_tests.rs
index a6b01189a5..cb0e4ff499 100644
--- a/crates/openhuman-core/src/inference/provider/factory_tests.rs
+++ b/crates/openhuman-core/src/inference/provider/factory_tests.rs
@@ -203,7 +203,8 @@ fn inspection_requires_credentials_for_explicit_authenticated_cloud_routes() {
);
assert!(
runtime.is_ok(),
- "runtime construction preserves explicit routes before a key is saved"
+ "runtime construction preserves explicit routes before a key is saved: {:?}",
+ runtime.err()
);
provider.auth_style = AuthStyle::Anthropic;