Skip to content

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

test(web_chat): add request_id assertion in egress surface test

Steven Enamakel3450227b9968
diff --git a/crates/openhuman-core/src/web_chat/event_bus_tests.rs b/crates/openhuman-core/src/web_chat/event_bus_tests.rs
index a636f6eb1f..b65015ffc9 100644
--- a/crates/openhuman-core/src/web_chat/event_bus_tests.rs
+++ b/crates/openhuman-core/src/web_chat/event_bus_tests.rs
@@ -79,6 +79,7 @@ async fn egress_surface_bridges_pending_with_chat_context() {
let ev = find_egress_web_event(&mut web_rx, marker).await;
assert_eq!(ev.thread_id, "thread-1");
assert_eq!(ev.client_id, "client-1");
+ assert_eq!(ev.request_id, "request-1");
let args = ev.args.expect("args present");
assert_eq!(args["provider_slug"], "composio");
assert_eq!(args["reason"], "tool_call");