Skip to content

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

test(embed): use workspace_transcripts helper in attached tools test

Steven Enamakelbf38a4ee951e
diff --git a/crates/openhuman-embed/tests/attached_tools.rs b/crates/openhuman-embed/tests/attached_tools.rs
index 800b126614..beaaa3e7cc 100644
--- a/crates/openhuman-embed/tests/attached_tools.rs
+++ b/crates/openhuman-embed/tests/attached_tools.rs
@@ -125,10 +125,10 @@ fn attached_tools_survive_clones_and_session_resume() {
.send()
.await
.unwrap();
- let transcripts =
- openhuman_core::storage::sessions::provider_for_workspace(agent.workspace_dir())
- .for_agent("attached")
- .transcripts;
+ let transcripts = openhuman_core::storage::sessions::workspace_transcripts(
+ "attached",
+ agent.workspace_dir(),
+ );
let continuing = transcripts
.thread_transcripts("continuing", None)
.expect("the continuing session transcript is durable");