Skip to content

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

style(storage): reflow host invocation formatting

Steven Enamakelf991ff523a3e
diff --git a/crates/openhuman-core/src/modules/storage_host_invocation.rs b/crates/openhuman-core/src/modules/storage_host_invocation.rs
index acd0ce4d6d..c0346da2a4 100644
--- a/crates/openhuman-core/src/modules/storage_host_invocation.rs
+++ b/crates/openhuman-core/src/modules/storage_host_invocation.rs
@@ -175,17 +175,16 @@ impl StorageEndpoint for DocumentsOnlyEndpoint {
let mut reply = self
.server
.handle(
- Admission::Private,
- Object::Documents.as_str(),
- call.selector,
- call.request,
- )
- .await
+ Admission::Private,
+ Object::Documents.as_str(),
+ call.selector,
+ call.request,
+ )
+ .await
.map_err(HostFailure::Storage)?;
if call.selector == "Capabilities" {
- if let Some(capabilities) = reply
- .get_mut("capabilities")
- .and_then(Value::as_array_mut)
+ if let Some(capabilities) =
+ reply.get_mut("capabilities").and_then(Value::as_array_mut)
{
capabilities
.retain(|capability| capability.as_str() != Some("watch"));