Skip to content

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

test(embed): drop withholding agent before id assertion

Steven Enamakel1ab5cac60675
diff --git a/crates/openhuman-embed/tests/runtime_agents.rs b/crates/openhuman-embed/tests/runtime_agents.rs
index 5a61c9edef..a24fd4c4f4 100644
--- a/crates/openhuman-embed/tests/runtime_agents.rs
+++ b/crates/openhuman-embed/tests/runtime_agents.rs
@@ -489,6 +489,7 @@ fn one_runtime_hosts_independently_configured_agents() {
assert!(matches!(err, AgentError::WidensRuntime(_)), "{err:?}");
// Dropping every handle releases the id.
+ drop(withholding_agent);
drop(gamma);
assert_eq!(
runtime.agent_ids(),