Skip to content

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

chore(storage): reflow scope construction in tenant router

Steven Enamakel1ec340c8c1f4
diff --git a/crates/openhuman-core/src/storage/sessions/tenant_router.rs b/crates/openhuman-core/src/storage/sessions/tenant_router.rs
index df50113034..6abe7044a1 100644
--- a/crates/openhuman-core/src/storage/sessions/tenant_router.rs
+++ b/crates/openhuman-core/src/storage/sessions/tenant_router.rs
@@ -93,8 +93,8 @@ impl TenantSessionStores {
}
let backend = Arc::clone(&self.backend);
let factory: AgentStorageFactory = Arc::new(move |agent_id| {
- let owner_scope = crate::storage::scope::Scope::new(tenant.as_str())?
- .agent(agent_id)?;
+ let owner_scope =
+ crate::storage::scope::Scope::new(tenant.as_str())?.agent(agent_id)?;
let scope = PortScope::new(owner_scope.as_str())?;
let storage = backend.for_scope(&owner_scope)?;
super::super::block_on(async {