Skip to content

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

test(tinyagents): initialize builtin registry in rebind test

Steven Enamakel7c62e03341c9
diff --git a/crates/openhuman-core/src/agent/tinyagents/use_skill_dispatch_tests.rs b/crates/openhuman-core/src/agent/tinyagents/use_skill_dispatch_tests.rs
index cb80783e78..da85d09efc 100644
--- a/crates/openhuman-core/src/agent/tinyagents/use_skill_dispatch_tests.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/use_skill_dispatch_tests.rs
@@ -151,6 +151,7 @@ fn build_use_skill_dispatch() -> UseSkillDispatch {
#[tokio::test]
async fn use_skill_dispatch_keeps_authorized_target_after_registry_rebind() {
+ let _ = AgentDefinitionRegistry::init_global_builtins();
let (dispatch, handle) = build_use_skill_dispatch_with_handle();
let arguments = json!({
"skill": "media",