Skip to content

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

test(openhuman-embed): update event field accessor in host capability test

Steven Enamakeld300ebbd0afe
diff --git a/crates/openhuman-embed/tests/profile_host_capabilities.rs b/crates/openhuman-embed/tests/profile_host_capabilities.rs
index 7a5e397218..ba2b7d0369 100644
--- a/crates/openhuman-embed/tests/profile_host_capabilities.rs
+++ b/crates/openhuman-embed/tests/profile_host_capabilities.rs
@@ -488,7 +488,7 @@ async fn scenario() {
.accepted
);
tokio::time::timeout(Duration::from_secs(30), async {
- while events.recv().await.unwrap().event != "channel_outbound" {}
+ while events.recv().await.unwrap().event_name() != "channel_outbound" {}
})
.await
.unwrap();