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
refactor(channels): update channel configuration logic
Steven Enamakelcb717f8bdfe4
diff --git a/crates/openhuman-core/src/channels/routes.rs b/crates/openhuman-core/src/channels/routes.rsindex 02cbc369b7..ac586726eb 100644--- a/crates/openhuman-core/src/channels/routes.rs+++ b/crates/openhuman-core/src/channels/routes.rs@@ -203,13 +203,17 @@ wheremodel: current.model,},history_len,- session_scope: reset_scope.map(Box::new),- configured_channel: target_channel- .filter(|channel| channel.name() == msg.channel)- .map(|channel| tinychannels_bus::module_control::ConfiguredControlChannel {- name: channel.name().to_owned(),- capabilities: channel.capabilities(),- }),+ session_scope: reset_scope.clone().map(Box::new),+ configured_channel: reset_scope.as_ref().and_then(|scope| {+ let account = scope.channel.account_id.as_deref()?;+ 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(),+ })+ }),providers: provider_descriptors(),},),)diff --git a/vendor/tinychannels b/vendor/tinychannelsindex b8b638d54d..efb11cf21e 160000--- a/vendor/tinychannels+++ b/vendor/tinychannels@@ -1 +1 @@-Subproject commit b8b638d54d1d682c21275ebf5eb26ce3d9507a83+Subproject commit efb11cf21e738e0b9488c4f75a26b052b58a9a90