Skip to content

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

test(plan_exit): use unit struct literal in metadata test

Steven Enamakel5415b681355d
diff --git a/crates/openhuman-core/src/agent/tools/plan_exit_tests.rs b/crates/openhuman-core/src/agent/tools/plan_exit_tests.rs
index 5baa8abf98..3af407b631 100644
--- a/crates/openhuman-core/src/agent/tools/plan_exit_tests.rs
+++ b/crates/openhuman-core/src/agent/tools/plan_exit_tests.rs
@@ -114,7 +114,7 @@ async fn plan_exit_rejects_empty() {
#[test]
fn plan_exit_metadata() {
- let tool = PlanExitTool::new();
+ let tool = PlanExitTool;
assert_eq!(tool.name(), "plan_exit");
assert_eq!(tool.permission_level(), PermissionLevel::None);
}