Skip to content

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

fix(recorded_tools): fix formatting of chained condition in rehydrate_integration_actions

Steven Enamakel527e21cd6b30
diff --git a/crates/openhuman-core/src/agent/session_host/recorded_tools.rs b/crates/openhuman-core/src/agent/session_host/recorded_tools.rs
index d3fef179c4..e422d66623 100644
--- a/crates/openhuman-core/src/agent/session_host/recorded_tools.rs
+++ b/crates/openhuman-core/src/agent/session_host/recorded_tools.rs
@@ -76,7 +76,9 @@ pub(super) fn rehydrate_integration_actions(
!integrations_are_authoritative
|| integrations.iter().any(|integration| {
integration.connected
- && integration.toolkit.eq_ignore_ascii_case(&toolkit_of(&spec.name))
+ && integration
+ .toolkit
+ .eq_ignore_ascii_case(&toolkit_of(&spec.name))
&& !integration
.gated_tools
.iter()