Skip to content

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

test(security-gate): collapse multi-line format! call into one line

Steven Enamakel2f5e6fde9010
diff --git a/crates/openhuman-core/src/agent/tinyagents/host/security_gate_screen_and_policy_tests.rs b/crates/openhuman-core/src/agent/tinyagents/host/security_gate_screen_and_policy_tests.rs
index 5e1db3376b..c844b5ae58 100644
--- a/crates/openhuman-core/src/agent/tinyagents/host/security_gate_screen_and_policy_tests.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/host/security_gate_screen_and_policy_tests.rs
@@ -220,9 +220,7 @@ async fn screen_input_redacts_credentials_without_changing_screening_policy() {
async fn tool_screening_preserves_host_confirmation_tokens() {
let gate = gate(AutonomyLevel::Full);
let token = "00000000-0000-4000-8000-000000000123";
- let response = format!(
- r#"{{"status":"NeedsConfirmation","pending":{{"token":"{token}"}}}}"#
- );
+ let response = format!(r#"{{"status":"NeedsConfirmation","pending":{{"token":"{token}"}}}}"#);
let outcome = gate
.screen_input(&response, ContentOrigin::Tool)