Skip to content

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

refactor(memory): reflow handler lookup onto one line

Steven Enamakel9c31658f3b28
diff --git a/crates/openhuman-core/src/memory/schemas.rs b/crates/openhuman-core/src/memory/schemas.rs
index 894da379b9..5996f1c821 100644
--- a/crates/openhuman-core/src/memory/schemas.rs
+++ b/crates/openhuman-core/src/memory/schemas.rs
@@ -66,8 +66,7 @@ pub fn all_registered_controllers() -> Vec<RegisteredController> {
.iter()
.map(|function| RegisteredController {
schema: schema(function),
- handler: handler_for(function)
- .expect("every registered memory function has a handler"),
+ handler: handler_for(function).expect("every registered memory function has a handler"),
})
.collect()
}