Skip to content

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

fix(tinyagents): clone bridge tool sets before passing to bridge

Steven Enamakel2a446abe365e
diff --git a/crates/openhuman-core/src/agent/tinyagents/turn_exec.rs b/crates/openhuman-core/src/agent/tinyagents/turn_exec.rs
index 03af9485e9..28b9669b5a 100644
--- a/crates/openhuman-core/src/agent/tinyagents/turn_exec.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/turn_exec.rs
@@ -443,7 +443,7 @@ async fn run_turn_via_tinyagents_body(
tool_names.clone(),
failure_map.clone(),
provider_usage_carry.clone(),
- bridge_tool_sets,
+ bridge_tool_sets.clone(),
);
sink.subscribe(bridge.clone());
bridge