The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(config): migrate profile markdown to structured config
Steven Enamakelb106bfaa0dcd
diff --git a/crates/openhuman-core/src/config/migrations/phase_out_profile_md.rs b/crates/openhuman-core/src/config/migrations/phase_out_profile_md.rsindex b717db7166..6237f46589 100644--- a/crates/openhuman-core/src/config/migrations/phase_out_profile_md.rs+++ b/crates/openhuman-core/src/config/migrations/phase_out_profile_md.rs@@ -271,7 +271,7 @@ pub(super) fn strip_profile_md_in_first_system_message(session: &mut SessionTran/// the new `.md` companion format ([`render_markdown`])./// - `## [` — the next-message header in a `.md` companion./// - `<!--/MSG-->` — the close tag in the legacy HTML-comment `.md`-/// format read by [`transcript::read_transcript_legacy_md`].+/// format read by `tinyagents_session::transcript::read_transcript_legacy_md`.////// The extra boundaries make the same function safe to apply to either/// a raw system-prompt string or a `.md` transcript body, withoutdiff --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.rsindex dea7afd884..19b11d12aa 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,8 +164,8 @@ fn sanitize_only_touches_first_system_message() {));write_transcript(&path, &session.messages, &session.meta, None).unwrap();- let mutated = process_transcript(&path).unwrap();- assert!(mutated, "first system message had a block, must mutate");+ let stats = run(tmp.path()).unwrap();+ assert_eq!(stats.cleaned, 1, "first system message had a block, must mutate");let session = read_transcript(&path).unwrap();assert!(!session.messages[0].content.contains("### PROFILE.md"));