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): cover reply metadata and relay flag in startup callback
Steven Enamakeleb53d7d5444d
diff --git a/crates/openhuman-core/src/channels/runtime/startup/callback_tests.rs b/crates/openhuman-core/src/channels/runtime/startup/callback_tests.rsindex f3abbb972b..6e5d395e6b 100644--- a/crates/openhuman-core/src/channels/runtime/startup/callback_tests.rs+++ b/crates/openhuman-core/src/channels/runtime/startup/callback_tests.rs@@ -31,6 +31,8 @@ async fn module_inbound_envelope_reaches_host_dispatch_with_identity_intact() {account_id: Some("telegram:bot-a".into()),},message_id: "telegram_42_10".into(),+ reply_to_id: Some("telegram_42_9".into()),+ timestamp_unix_ms: Some(1_800_000_000_000),conversation: tinychannels_bus::ConversationRef {kind: tinychannels_bus::ConversationKind::Dm,id: "42".into(),@@ -69,6 +71,7 @@ async fn module_inbound_envelope_reaches_host_dispatch_with_identity_intact() {.try_recv().expect("native envelope should enter the channel dispatch queue");assert!(runtime_message.message.channel.is_empty());+ assert!(!runtime_message.authenticated_relay);let received_envelope = runtime_message.inbound_envelope.expect("typed source envelope must reach module preparation");