Skip to content

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

style: rustfmt the tool-policy placement test\n\nThe working tree was formatted but the commit was not — `cargo fmt --check`\nrun against the tree passed while CI, which checks the commit, reported\n`Diff in tests/agent_harness_e2e.rs:3236`.\n

M3gA-Mind6b94d281e9a1
diff --git a/tests/agent_harness_e2e.rs b/tests/agent_harness_e2e.rs
index 31bc5d359a..662539783a 100644
--- a/tests/agent_harness_e2e.rs
+++ b/tests/agent_harness_e2e.rs
@@ -3392,7 +3392,11 @@ mod tool_policy_boundary_placement {
fn the_tool_policy_boundary_is_the_last_block_in_the_prompt() {
let prompt = restricted_prompt();
let trimmed = prompt.trim_end();
- let tail: String = trimmed.chars().rev().take(220).collect::<Vec<_>>()
+ let tail: String = trimmed
+ .chars()
+ .rev()
+ .take(220)
+ .collect::<Vec<_>>()
.into_iter()
.rev()
.collect();