Skip to content

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

test(agent-harness): use render_current_turn_prompt in boundary test

Steven Enamakel9bb7f26c5dfc
diff --git a/tests/agent_harness_e2e.rs b/tests/agent_harness_e2e.rs
index 9e438075e3..676b018d7a 100644
--- a/tests/agent_harness_e2e.rs
+++ b/tests/agent_harness_e2e.rs
@@ -4423,7 +4423,9 @@ mod tool_policy_boundary_placement {
.build()
.expect("complete builder should succeed");
- agent.build_system_prompt().expect("system prompt builds")
+ agent
+ .render_current_turn_prompt()
+ .expect("system prompt builds")
}
/// #5821 (closes #5704). Every line of the boundary block is session-scoped