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
fix(channels): route channel control calls through module client
Steven Enamakelc7f0fee6d6b5
diff --git a/crates/openhuman-core/src/channels/runtime/startup/module_providers.rs b/crates/openhuman-core/src/channels/runtime/startup/module_providers.rsindex a7f3b77dea..53c0568564 100644--- a/crates/openhuman-core/src/channels/runtime/startup/module_providers.rs+++ b/crates/openhuman-core/src/channels/runtime/startup/module_providers.rs@@ -20,6 +20,7 @@ use tokio::sync::mpsc;/// Channel objects sharing one captured config, callback object and module lease.pub(super) struct ModuleChannelRuntime {+ client: ModuleClient,lease: ChannelRuntimeLease,config: tinychannels_bus::ChannelsConfig,proxy: tinychannels_bus::HttpProxyPolicy,@@ -115,6 +116,7 @@ impl ModuleChannelRuntime {}).collect();Ok(Self {+ client,lease,config: hydrated,proxy,@@ -137,9 +139,9 @@ impl ModuleChannelRuntime {use tinychannels_bus::module_control::{ChannelControlRequest, ChannelControlResult};let result: ChannelControlResult = self- .lease- .object()+ .client.call_confidential(+ "tinychannels",tinychannels_bus::methods::PREPARE_CHANNEL_CONTROL,(ChannelControlRequest::RuntimeLimits {timeout_secs,@@ -151,7 +153,9 @@ impl ModuleChannelRuntime {ChannelControlResult::RuntimeLimits {timeout_secs,max_in_flight,- } if timeout_secs >= 30 && max_in_flight > 0 => {+ } if timeout_secs >= tinychannels_bus::context::MIN_CHANNEL_MESSAGE_TIMEOUT_SECS+ && max_in_flight > 0 =>+ {Ok((timeout_secs, max_in_flight))}_ => {