Skip to content

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

refactor(channels): update channel routing logic

Steven Enamakel8a58ebe405b8
diff --git a/crates/openhuman-core/src/channels/routes.rs b/crates/openhuman-core/src/channels/routes.rs
index ac586726eb..059d35b1e0 100644
--- a/crates/openhuman-core/src/channels/routes.rs
+++ b/crates/openhuman-core/src/channels/routes.rs
@@ -209,9 +209,13 @@ where
let channel = ctx.channels_by_name.get(account)?;
(channel.name() == account
&& tinychannels_bus::provider_id(channel.name()) == scope.channel.id)
- .then(|| tinychannels_bus::module_control::ConfiguredControlChannel {
- name: channel.name().to_owned(),
- capabilities: channel.capabilities(),
+ .then(|| {
+ Box::new(
+ tinychannels_bus::module_control::ConfiguredControlChannel {
+ name: channel.name().to_owned(),
+ capabilities: channel.capabilities(),
+ },
+ )
})
}),
providers: provider_descriptors(),
diff --git a/vendor/tinychannels b/vendor/tinychannels
index efb11cf21e..6aa3ccbd95 160000
--- a/vendor/tinychannels
+++ b/vendor/tinychannels
@@ -1 +1 @@
-Subproject commit efb11cf21e738e0b9488c4f75a26b052b58a9a90
+Subproject commit 6aa3ccbd9568860052dd23d923811f1081d10db5