Skip to content

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

test(session_host): clone workspace in transcript compat test

Steven Enamakel13109ddf8668
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 b995e2a87d..75b661c510 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
@@ -679,7 +679,7 @@ fn assert_retired_tool_replay(identity_bound: bool) {
crate::agent::SessionHostBuilder::new()
.chat_model(chat_model)
.tools(tools())
- .workspace_dir(workspace)
+ .workspace_dir(workspace.clone())
.action_dir(root.path().to_path_buf())
.tool_dispatcher(Box::new(tinytools_agent::dialect::NativeDialect))
.build()