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 scoped events from test helper

Steven Enamakel6b75a6db3f05
diff --git a/crates/openhuman-core/src/web_chat/turn_events_tests.rs b/crates/openhuman-core/src/web_chat/turn_events_tests.rs
index 1ff169addd..41bd33f0f0 100644
--- a/crates/openhuman-core/src/web_chat/turn_events_tests.rs
+++ b/crates/openhuman-core/src/web_chat/turn_events_tests.rs
@@ -33,7 +33,7 @@ async fn events_for(
rx: &mut tokio::sync::broadcast::Receiver<crate::web_chat::ScopedWebEvent>,
request_id: &str,
count: usize,
-) -> Vec<WebChannelEvent> {
+) -> Vec<crate::web_chat::ScopedWebEvent> {
tokio::time::timeout(Duration::from_secs(5), async {
let mut seen = Vec::new();
while seen.len() < count {