Skip to content

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

refactor(core,embed): initialize models field in chat model entry

Steven Enamakel45280087429b
diff --git a/crates/openhuman-core/src/inference/registry_tests.rs b/crates/openhuman-core/src/inference/registry_tests.rs
index 7c294fd939..86736b6844 100644
--- a/crates/openhuman-core/src/inference/registry_tests.rs
+++ b/crates/openhuman-core/src/inference/registry_tests.rs
@@ -37,6 +37,7 @@ fn fake_entry(seen: SeenModelRequests) -> ChatModelEntry {
))
}),
probe: None,
+ models: None,
}
}
diff --git a/crates/openhuman-embed/examples/support/mod.rs b/crates/openhuman-embed/examples/support/mod.rs
index 75b55ad4f2..d75990f527 100644
--- a/crates/openhuman-embed/examples/support/mod.rs
+++ b/crates/openhuman-embed/examples/support/mod.rs
@@ -257,6 +257,7 @@ impl PointedInference {
ChatModelEntry {
build: std::sync::Arc::new(build),
probe: None,
+ models: None,
},
);
}
diff --git a/crates/openhuman-embed/tests/common/mod.rs b/crates/openhuman-embed/tests/common/mod.rs
index b83695f387..946c274647 100644
--- a/crates/openhuman-embed/tests/common/mod.rs
+++ b/crates/openhuman-embed/tests/common/mod.rs
@@ -286,6 +286,7 @@ impl PointedInference {
ChatModelEntry {
build: std::sync::Arc::new(build),
probe: None,
+ models: None,
},
);
}