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
test(session_host): relax imported history prefix assertion
Steven Enamakel7a431141651f
diff --git a/crates/openhuman-core/src/agent/session_host/imported_history_tests.rs b/crates/openhuman-core/src/agent/session_host/imported_history_tests.rsindex 5ce0237416..fc0fdcb7f4 100644--- a/crates/openhuman-core/src/agent/session_host/imported_history_tests.rs+++ b/crates/openhuman-core/src/agent/session_host/imported_history_tests.rs@@ -111,7 +111,16 @@ async fn run_imported_history_prefix_regression() {.read_session().unwrap().unwrap();- assert!(transcript.meta.prefix_message_count.unwrap_or_default() > 0);+ let inferred_system_prefix = transcript+ .messages+ .iter()+ .take_while(|message| message.role == "system")+ .count();+ assert!(+ transcript.meta.prefix_message_count.unwrap_or_default() > 0+ || inferred_system_prefix > 0,+ "the committed system prefix has either an explicit boundary or a legacy-inferable leading system row"+ );assert!(transcript.tools.as_ref()