Skip to content

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

test(inference): update registry tests for embedding provider creation

Steven Enamakel4cf8fe6ed001
diff --git a/crates/openhuman-core/src/inference/registry_tests.rs b/crates/openhuman-core/src/inference/registry_tests.rs
index cb0dd62a02..4910094e63 100644
--- a/crates/openhuman-core/src/inference/registry_tests.rs
+++ b/crates/openhuman-core/src/inference/registry_tests.rs
@@ -125,7 +125,7 @@ fn a_registered_embedding_factory_builds_the_managed_embedding_model() {
});
let built = crate::inference::embedding_host::create_embedding_provider_with_credentials(
"cloud",
- Some("any-model"),
+ "any-model",
8,
"",
None,
@@ -199,7 +199,7 @@ fn selecting_the_managed_provider_with_nothing_registered_is_backend_unavailable
let error = make_openhuman_backend_model_for_thread(
"chat",
&Config::default(),
- "any-model",
+ Some("any-model"),
true,
None,
&EgressLedger::none(),