Skip to content

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

chore: reorder module declarations and simplify assertion

Steven Enamakel9faf0146908d
diff --git a/crates/openhuman-core/src/memory/query/search_entities_tests.rs b/crates/openhuman-core/src/memory/query/search_entities_tests.rs
index b80d9953c1..4e86a78e61 100644
--- a/crates/openhuman-core/src/memory/query/search_entities_tests.rs
+++ b/crates/openhuman-core/src/memory/query/search_entities_tests.rs
@@ -101,9 +101,7 @@ async fn execute_rejects_invalid_kind_after_validation() {
}))
.await
.expect_err("invalid kind should fail");
- assert!(err
- .to_string()
- .contains("memory_tree_search_entities:"));
+ assert!(err.to_string().contains("memory_tree_search_entities:"));
}
/// The parity half of this test is gone with the split brain.
diff --git a/crates/openhuman-core/src/tools/impl/browser/browser.rs b/crates/openhuman-core/src/tools/impl/browser/browser.rs
index d715f75a42..7ee4a7cec1 100644
--- a/crates/openhuman-core/src/tools/impl/browser/browser.rs
+++ b/crates/openhuman-core/src/tools/impl/browser/browser.rs
@@ -1,8 +1,8 @@
//! Agent-facing browser backed by the TinyComputer module's browser and task members.
-#[path = "browser_cleanup.rs"]
-mod cleanup;
#[path = "browser_drop.rs"]
mod browser_drop;
+#[path = "browser_cleanup.rs"]
+mod cleanup;
#[path = "browser_pending.rs"]
mod pending;
#[path = "browser_session_pool.rs"]