Skip to content

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

Merge remote-tracking branch 'upstream/main' into test-to-green-20261022

Steven Enamakelfc83e7207b81
diff --cc crates/openhuman-core/src/agent/session_host/test_support.rs
index 9ad0e05476,535279ac00..3fb05fd3a4
--- a/crates/openhuman-core/src/agent/session_host/test_support.rs
+++ b/crates/openhuman-core/src/agent/session_host/test_support.rs
@@@ -98,13 -102,13 +102,20 @@@ pub(crate) fn install_model_fixture()
crate::inference::registry::register_chat_model(PROVIDER_OPENHUMAN, model_fixture_entry());
}
+/// Configure a managed-provider session fixture with its required test credential.
+pub(crate) fn install_managed_model_fixture(config: &crate::config::Config) {
+ install_model_fixture();
+ crate::security::credentials::api_key::store_api_key(config, "test-session-fixture-key")
+ .expect("store the managed inference fixture credential");
+}
+
+ pub(crate) fn install_scripted_model(model: Arc<dyn ChatModel<()>>) {
+ crate::inference::registry::register_chat_model(
+ PROVIDER_OPENHUMAN,
+ scripted_model_entry(model),
+ );
+ }
+
pub(crate) fn install_model_fixture_in(extensions: &crate::core::slots::Extensions) {
crate::inference::registry::register_chat_model_in(
extensions,