Skip to content

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

test(prefetch): reformat test lock initializer

Steven Enamakel1969a6bffb81
diff --git a/crates/openhuman-core/src/memory/lifecycle/prefetch_tests.rs b/crates/openhuman-core/src/memory/lifecycle/prefetch_tests.rs
index 572f308365..ab10397a36 100644
--- a/crates/openhuman-core/src/memory/lifecycle/prefetch_tests.rs
+++ b/crates/openhuman-core/src/memory/lifecycle/prefetch_tests.rs
@@ -7,7 +7,8 @@ const MAX_PENDING: usize = 16;
const MAX_PACK_BYTES: usize = 64 * 1024;
pub(super) const CACHED_NOTICE: &str = "This is cached memory from a completed background lookup for an earlier turn. It may be incomplete or unrelated to the current question; use explicit memory recall or fetch when you need a current answer.\n\n";
-pub(super) static TEST_LOCK: LazyLock<tokio::sync::Mutex<()>> = LazyLock::new(|| tokio::sync::Mutex::new(()));
+pub(super) static TEST_LOCK: LazyLock<tokio::sync::Mutex<()>> =
+ LazyLock::new(|| tokio::sync::Mutex::new(()));
fn pack(text: &str) -> TurnPack {
TurnPack::from_native(NativeTurnPack {