Skip to content

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

style: reformat imports and method chains

Steven Enamakel5400c68170be
diff --git a/crates/openhuman-core/src/channels/host/host_tests.rs b/crates/openhuman-core/src/channels/host/host_tests.rs
index 6e1f9967eb..8326a3f798 100644
--- a/crates/openhuman-core/src/channels/host/host_tests.rs
+++ b/crates/openhuman-core/src/channels/host/host_tests.rs
@@ -129,7 +129,10 @@ async fn typed_channel_projection_uses_scoped_persisted_row_bindings_after_resta
.await
.unwrap();
assert_eq!(
- persisted.iter().filter(|message| message.id == row_id).count(),
+ persisted
+ .iter()
+ .filter(|message| message.id == row_id)
+ .count(),
1,
"concurrent duplicate channel delivery persists one authoritative row"
);
diff --git a/crates/openhuman-core/src/threads/channel_projection.rs b/crates/openhuman-core/src/threads/channel_projection.rs
index 89d353f5b5..95e706128e 100644
--- a/crates/openhuman-core/src/threads/channel_projection.rs
+++ b/crates/openhuman-core/src/threads/channel_projection.rs
@@ -15,7 +15,10 @@ use tinychannels_bus::{ChannelRef, ConversationRef};
use tinystoragedrivers::{CollectionSpec, ErrorKind, Precondition};
use crate::core::runtime::{DispatchCtx, Tenant, tenant::tenant_key};
-use crate::storage::{self, documents::{Repo, compare_and_swap}};
+use crate::storage::{
+ self,
+ documents::{Repo, compare_and_swap},
+};
const DOMAIN: &str = "threads::channel_projection";
const COLLECTION: &str = "thread_channel_messages";