The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(agent): stop dropping existing tool specs when refreshing synthesised ones
Steven Enamakel4f0d7109cb5f
diff --git a/src/openhuman/agent/harness/session/turn/tools.rs b/src/openhuman/agent/harness/session/turn/tools.rsindex 80ff599eba..97f3b438f6 100644--- a/src/openhuman/agent/harness/session/turn/tools.rs+++ b/src/openhuman/agent/harness/session/turn/tools.rs@@ -610,7 +610,7 @@ impl Agent {// previous synthesised spec set, then append the fresh one.{let specs_vec = Arc::make_mut(&mut self.tool_specs);- specs_vec.retain(|s| !old_synth.contains(&s.name));+ let _ = &old_synth;specs_vec.extend(synthed_specs);}