Skip to content

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

style(openhuman-embed): reflow controller lookup conditions onto one line

Steven Enamakel7f0cb24436d0
diff --git a/crates/openhuman-embed/src/turn_tests.rs b/crates/openhuman-embed/src/turn_tests.rs
index ccf33abb00..3c3fef0898 100644
--- a/crates/openhuman-embed/src/turn_tests.rs
+++ b/crates/openhuman-embed/src/turn_tests.rs
@@ -17,8 +17,7 @@ fn turn_request_field_names_match_the_controller() {
let schema = openhuman_core::core::all::all_registered_controllers()
.into_iter()
.find(|controller| {
- controller.schema.namespace == "inference"
- && controller.schema.function == "agent_chat"
+ controller.schema.namespace == "inference" && controller.schema.function == "agent_chat"
})
.expect("inference.agent_chat is a registered controller");
let schema = schema.schema;
@@ -202,8 +201,7 @@ fn the_controller_declares_nowhere_for_a_seed_to_travel() {
let schema = openhuman_core::core::all::all_registered_controllers()
.into_iter()
.find(|controller| {
- controller.schema.namespace == "inference"
- && controller.schema.function == "agent_chat"
+ controller.schema.namespace == "inference" && controller.schema.function == "agent_chat"
})
.expect("inference.agent_chat is a registered controller");
let schema = schema.schema;