Skip to content

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

fix(memory): correct test assertion for context retrieval

Steven Enamakel6b64d3755bde
diff --git a/crates/openhuman-core/src/memory/context_tests.rs b/crates/openhuman-core/src/memory/context_tests.rs
index d70110aa12..b8d79263b4 100644
--- a/crates/openhuman-core/src/memory/context_tests.rs
+++ b/crates/openhuman-core/src/memory/context_tests.rs
@@ -55,7 +55,7 @@ async fn refresh_writes_context_md_and_state() {
assert_eq!(view.markdown, on_disk);
assert!(view.generated_at.is_some());
assert!(view.tokens > 0);
- assert!(state_path(&config.workspace_dir).exists());
+ assert!(state_path(&config.workspace_dir, &Namespace::ROOT).exists());
}
#[test]