Skip to content

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

refactor(core): simplify provider matching logic

Steven Enamakel7441b3dfccab
diff --git a/crates/openhuman-core/src/channels/runtime/dispatch/processor/progressive.rs b/crates/openhuman-core/src/channels/runtime/dispatch/processor/progressive.rs
index adc4ab98f2..bf82b8ea43 100644
--- a/crates/openhuman-core/src/channels/runtime/dispatch/processor/progressive.rs
+++ b/crates/openhuman-core/src/channels/runtime/dispatch/processor/progressive.rs
@@ -36,10 +36,9 @@ impl NativeProgressiveTarget {
turn_id: &str,
) -> anyhow::Result<std::sync::Arc<NativeProgressiveReply>> {
tracing::debug!(
- provider_matches_account =
- self.channel.account_id.as_deref().is_some_and(|account| {
- tinychannels_bus::provider_id(account) == self.channel.id
- }),
+ provider_matches_account = self.channel.account_id.as_deref().is_some_and(|account| {
+ tinychannels_bus::provider_id(account) == self.channel.id
+ }),
account_present = self
.channel
.account_id