Skip to content

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

test(channels): update inbound source to legacy variant

Steven Enamakel760aef781013
diff --git a/crates/openhuman-core/src/channels/routes_tests.rs b/crates/openhuman-core/src/channels/routes_tests.rs
index abc2086a5c..f20eaaa586 100644
--- a/crates/openhuman-core/src/channels/routes_tests.rs
+++ b/crates/openhuman-core/src/channels/routes_tests.rs
@@ -132,7 +132,9 @@ async fn handle_linked_runtime_command(
let prepared = crate::modules::channel_controller::prepare_inbound(
&crate::channels::context::module_client(ctx).await,
PrepareChannelInboundRequest {
- source: ChannelInboundSource::Envelope {
+ source: ChannelInboundSource::Legacy {
+ message: msg.clone(),
+ envelope: Some(
envelope: tinychannels_bus::ChannelInboundEnvelope {
channel: tinychannels_bus::ChannelRef {
id: msg.channel.clone(),
@@ -160,8 +162,8 @@ async fn handle_linked_runtime_command(
}],
..Default::default()
},
- timestamp: msg.timestamp,
- },
+ ),
+ },
namespace: "main".into(),
session_policy: Default::default(),
preparation_mode: Default::default(),