Skip to content

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

test(web_chat): return ScopedWebEvent from wait_for_event

Steven Enamakelc37a6e34182f
diff --git a/crates/openhuman-core/src/web_chat/web_tests_turn_lifecycle_tests.rs b/crates/openhuman-core/src/web_chat/web_tests_turn_lifecycle_tests.rs
index 5dd66436fb..303ca40e55 100644
--- a/crates/openhuman-core/src/web_chat/web_tests_turn_lifecycle_tests.rs
+++ b/crates/openhuman-core/src/web_chat/web_tests_turn_lifecycle_tests.rs
@@ -25,7 +25,7 @@ async fn wait_for_event(
rx: &mut tokio::sync::broadcast::Receiver<crate::web_chat::ScopedWebEvent>,
request_id: &str,
name: &str,
-) -> crate::web_chat::WebChannelEvent {
+) -> crate::web_chat::ScopedWebEvent {
timeout(Duration::from_secs(10), async {
loop {
match rx.recv().await {