Skip to content

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

test(orchestration): clone workspace descriptor in thread delete test

Steven Enamakele0b6d60a112a
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_thread_delete_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_thread_delete_tests.rs
index b8ab859fd7..1fb1188fcd 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_thread_delete_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_thread_delete_tests.rs
@@ -72,7 +72,7 @@ async fn deleting_parent_thread_cancels_driver_child_before_discarding_completio
.with_thread(thread_id),
host_context,
)
- .with_workspace(workspace_descriptor);
+ .with_workspace(workspace_descriptor.clone());
let dispatch = live.data.dispatch_ctx();
blocking::ensure_thread(
dispatch.clone(),