Skip to content

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

test(embed): use literal agent id in harness cleanup

Steven Enamakelb2b433318e66
diff --git a/crates/openhuman-embed/tests/harness_embed.rs b/crates/openhuman-embed/tests/harness_embed.rs
index 5a27481703..57e142917b 100644
--- a/crates/openhuman-embed/tests/harness_embed.rs
+++ b/crates/openhuman-embed/tests/harness_embed.rs
@@ -257,7 +257,7 @@ fn a_harness_runs_a_turn_against_the_provider_it_was_given() {
// removing the agent awaits the close first.
harness
.runtime()
- .remove_agent(openhuman_embed::HARNESS_AGENT_ID)
+ .remove_agent("harness")
.await
.expect("the harness agent is removed and its cleanup acknowledged");
drop(harness);