Skip to content

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

test(embed): add testkit dev-dependency and clarify transcript comment

Steven Enamakele00ac89cc02c
diff --git a/crates/openhuman-cli/Cargo.toml b/crates/openhuman-cli/Cargo.toml
index 0dc9a0c367..c8766b7805 100644
--- a/crates/openhuman-cli/Cargo.toml
+++ b/crates/openhuman-cli/Cargo.toml
@@ -428,6 +428,7 @@ tokio = { version = "1", features = ["full"] }
uuid = { version = "1", features = ["v4"] }
[dev-dependencies]
+tinystoragedrivers-testkit = { workspace = true }
# Root tests and examples reach into the core, embed and tinyhumans directly.
# Dev-only, so none of them is an edge of the shipped binary. Same spelling as
# the library crates' own manifests (`default-features = false`; the gates come
diff --git a/crates/openhuman-embed/tests/harness_embed.rs b/crates/openhuman-embed/tests/harness_embed.rs
index 9211029a02..6cfbe006fe 100644
--- a/crates/openhuman-embed/tests/harness_embed.rs
+++ b/crates/openhuman-embed/tests/harness_embed.rs
@@ -281,9 +281,8 @@ fn a_harness_runs_a_turn_against_the_provider_it_was_given() {
"two serial + {CONCURRENT_TURNS} concurrent turns"
);
- // The first session's transcript landed in the harness agent's
- // own store under the workspace (the path-based transcript files
- // are gone). A harness session id is its thread id.
+ // The first session's transcript landed in the runtime's store
+ // for the harness agent. A harness session id is its thread id.
let transcripts = openhuman_core::storage::sessions::transcripts_for("harness")
.expect("the harness agent's runtime session store");
assert!(