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-embed/src/agent/build_tests.rs

Steven Enamakelfd8d0f725dd1
diff --git a/crates/openhuman-embed/src/agent/build_tests.rs b/crates/openhuman-embed/src/agent/build_tests.rs
index e13b5dbc76..bfae1f405c 100644
--- a/crates/openhuman-embed/src/agent/build_tests.rs
+++ b/crates/openhuman-embed/src/agent/build_tests.rs
@@ -32,7 +32,7 @@ fn config_fn_final_autonomy_is_captured_on_the_built_agent_context() {
.enable_all()
.build()
.unwrap();
- tokio.block_on(async {
+ let test = tokio.spawn(async {
use openhuman_core::config::Config;
use openhuman_core::core::runtime::AutonomyTierSource;
use openhuman_core::security::AutonomyLevel;
@@ -78,6 +78,7 @@ fn config_fn_final_autonomy_is_captured_on_the_built_agent_context() {
drop(agent);
drop(runtime);
});
+ tokio.block_on(test).unwrap();
}
#[test]