Skip to content

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

test(embed): update harness transcript store access

Steven Enamakel3deefb1bb2fa
diff --git a/crates/openhuman-embed/tests/harness_embed.rs b/crates/openhuman-embed/tests/harness_embed.rs
index 4c63f87698..892092381b 100644
--- a/crates/openhuman-embed/tests/harness_embed.rs
+++ b/crates/openhuman-embed/tests/harness_embed.rs
@@ -209,13 +209,14 @@ fn a_harness_runs_a_turn_against_the_provider_it_was_given() {
assert_eq!(requests.len(), 102, "two serial + 100 concurrent turns");
// The first session's transcript landed in the harness agent's
- // own transcript root under the workspace (the old
- // `session_db/` files are gone). A harness session id is its
- // thread id.
- let transcripts = tinyagents_session::transcript::AgentTranscriptFiles::new(
+ // own store under the workspace (the path-based transcript files
+ // are gone). A harness session id is its thread id.
+ let transcripts = tinyagents_session::port::WorkspaceStores::open(
&workspace_dir,
"harness",
- );
+ )
+ .expect("the harness agent's workspace store")
+ .transcripts();
assert!(
transcripts.root_for_thread(&first.session_id).is_some(),
"the first session's transcript was not persisted"