Skip to content

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

test(openhuman-embed): add embeddings tests

Steven Enamakel1721584d757c
diff --git a/crates/openhuman-embed/src/embeddings_tests.rs b/crates/openhuman-embed/src/embeddings_tests.rs
index dc4f108107..b968b1d4dc 100644
--- a/crates/openhuman-embed/src/embeddings_tests.rs
+++ b/crates/openhuman-embed/src/embeddings_tests.rs
@@ -17,5 +17,8 @@ async fn mock_model_embeds_through_the_facade() {
fn signature_format_is_pinned() {
// Stored vectors are partitioned by this string; a change here re-homes
// every host's index, so it is asserted literally.
- assert_eq!(format_embedding_signature("openai", "text-embedding-3-small", 1536), "openai:text-embedding-3-small:1536");
+ assert_eq!(
+ format_embedding_signature("openai", "text-embedding-3-small", 1536),
+ "provider=openai;model=text-embedding-3-small;dims=1536"
+ );
}