Skip to content

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

test(channels): assert conversation id in dispatch envelope

Steven Enamakel0f7c893dbe4f
diff --git a/crates/openhuman-core/src/channels/tests/runtime_dispatch.rs b/crates/openhuman-core/src/channels/tests/runtime_dispatch.rs
index 64c2d7e6c2..8dacf3c57d 100644
--- a/crates/openhuman-core/src/channels/tests/runtime_dispatch.rs
+++ b/crates/openhuman-core/src/channels/tests/runtime_dispatch.rs
@@ -71,6 +71,7 @@ async fn dispatch_preserves_supplied_tinychannels_inbound_envelope() {
let envelope = observation
.received_event_envelope
.expect("dispatch should publish supplied inbound envelope");
+ assert_eq!(envelope.conversation.id, "reply");
assert_eq!(envelope.channel.account_id.as_deref(), Some("bot-a"));
assert_eq!(envelope.conversation.scope_id.as_deref(), Some("T123"));
assert_eq!(envelope.conversation.thread_id.as_deref(), Some("thread-1"));