Skip to content

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

test(session_host): assert cold runtime session on resume

Steven Enamakel778fbbb29470
diff --git a/crates/openhuman-core/src/agent/session_host/transcript_compat_tests.rs b/crates/openhuman-core/src/agent/session_host/transcript_compat_tests.rs
index 75b661c510..cb98a3b6cf 100644
--- a/crates/openhuman-core/src/agent/session_host/transcript_compat_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/transcript_compat_tests.rs
@@ -691,6 +691,7 @@ fn assert_retired_tool_replay(identity_bound: bool) {
.await
.expect("resume archive"));
} else {
+ resumed.ensure_runtime_session().expect("cold runtime session");
assert!(matches!(
resumed.turn_resume_mode(),
tinyagents_runtime::ResumeMode::LatestForAgent