Skip to content

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

test(saas_isolation): reformat memory_explore generator closure

Steven Enamakel34c246e9cf28
diff --git a/tests/saas_isolation/generators.rs b/tests/saas_isolation/generators.rs
index c452910d74..9da1e70be8 100644
--- a/tests/saas_isolation/generators.rs
+++ b/tests/saas_isolation/generators.rs
@@ -211,10 +211,10 @@ pub const GENERATORS: &[(&str, Generator)] = &[
|w, a| json!({ "ids": [w.memory_id_for(a)] }),
),
("openhuman.memory_items_list", |_, _| json!({ "limit": 20 })),
- (
- "openhuman.memory_explore",
- |w, _| json!({ "facet": ["kind", "source", "workspace", "folder"][w.rng.below(4)] }),
- ),
+ ("openhuman.memory_explore", |w, _| {
+ let facet = ["kind", "source", "workspace", "folder"][w.rng.below(4)];
+ json!({ "facet": facet })
+ }),
];
impl World {