Skip to content

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

chore: files changed crates/openhuman-core/src/channels/runtime/dispatch/host_agent/dispatch_tests.r

Steven Enamakel353f47858cb8
diff --git a/crates/openhuman-core/src/channels/runtime/dispatch/host_agent/dispatch_tests.rs b/crates/openhuman-core/src/channels/runtime/dispatch/host_agent/dispatch_tests.rs
index e74c1dcabd..13875696dd 100644
--- a/crates/openhuman-core/src/channels/runtime/dispatch/host_agent/dispatch_tests.rs
+++ b/crates/openhuman-core/src/channels/runtime/dispatch/host_agent/dispatch_tests.rs
@@ -267,6 +267,9 @@ async fn a_bound_channel_runs_its_host_agent_and_refuses_its_write_tool() {
let _bus = crate::agent::bus::use_real_agent_handler().await;
let server = provider().await;
let tmp = tempfile::tempdir().unwrap();
+ // Every host boots the definition registry; a session's hosted authority
+ // is built from it.
+ crate::agent::harness::definition::AgentDefinitionRegistry::init_global(tmp.path()).unwrap();
let mut agent_config = config(&tmp, None);
agent_config.default_model = Some("fixture".into());
let route = crate::config::schema::EphemeralRoute::from_params(