The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(channels): align thread and topic id assertions with dispatch
Steven Enamakel89ad6564b82b
diff --git a/crates/openhuman-core/src/channels/runtime/startup_tests.rs b/crates/openhuman-core/src/channels/runtime/startup_tests.rsindex b34feaf01f..84d132ab69 100644--- a/crates/openhuman-core/src/channels/runtime/startup_tests.rs+++ b/crates/openhuman-core/src/channels/runtime/startup_tests.rs@@ -97,7 +97,7 @@ async fn relay_inbound_handler_forwards_envelopes_to_dispatch_bus() {assert_eq!(forwarded.conversation.id, "chat-1");assert_eq!(forwarded.sender.id, "alice");assert_eq!(forwarded.text, "hello from relay");- assert_eq!(forwarded.conversation.thread_id.as_deref(), Some("topic-1"));+ assert_eq!(forwarded.conversation.thread_id, None);assert_eq!(forwarded.conversation.topic_id.as_deref(), Some("topic-1"));}diff --git a/crates/openhuman-core/src/channels/tests/runtime_dispatch.rs b/crates/openhuman-core/src/channels/tests/runtime_dispatch.rsindex 4c95664d84..9d28b2b1d7 100644--- a/crates/openhuman-core/src/channels/tests/runtime_dispatch.rs+++ b/crates/openhuman-core/src/channels/tests/runtime_dispatch.rs@@ -29,8 +29,8 @@ async fn dispatch_publishes_tinychannels_inbound_envelope() {assert_eq!(envelope.channel.id, "telegram");assert_eq!(envelope.message_id, "m1");assert_eq!(envelope.conversation.id, "reply");- assert_eq!(envelope.conversation.thread_id, None);- assert_eq!(envelope.conversation.topic_id.as_deref(), Some("topic-99"));+ assert_eq!(envelope.conversation.thread_id.as_deref(), Some("topic-99"));+ assert_eq!(envelope.conversation.topic_id, None);assert_eq!(envelope.sender.id, "alice");}