Skip to content

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

test(config): add tests for profile.md phase-out migration

Steven Enamakel599d4490e34d
diff --git a/crates/openhuman-core/src/config/migrations/phase_out_profile_md_tests.rs b/crates/openhuman-core/src/config/migrations/phase_out_profile_md_tests.rs
index 19b11d12aa..747f090b8f 100644
--- a/crates/openhuman-core/src/config/migrations/phase_out_profile_md_tests.rs
+++ b/crates/openhuman-core/src/config/migrations/phase_out_profile_md_tests.rs
@@ -164,7 +164,7 @@ fn sanitize_only_touches_first_system_message() {
));
write_transcript(&path, &session.messages, &session.meta, None).unwrap();
- let stats = run(tmp.path()).unwrap();
+ let stats = run(dir.path()).unwrap();
assert_eq!(stats.cleaned, 1, "first system message had a block, must mutate");
let session = read_transcript(&path).unwrap();