Skip to content

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

fix(test): collapse multi-line execute signature in test mock

Steven Enamakelf3ccf70f05cf
diff --git a/crates/openhuman-core/src/agent/harness/session/session_thread_resume_tests.rs b/crates/openhuman-core/src/agent/harness/session/session_thread_resume_tests.rs
index 41f71b2156..9c206c2d99 100644
--- a/crates/openhuman-core/src/agent/harness/session/session_thread_resume_tests.rs
+++ b/crates/openhuman-core/src/agent/harness/session/session_thread_resume_tests.rs
@@ -430,10 +430,7 @@ fn hide_tools_seeds_allowlist_when_no_filter_present() {
serde_json::json!({"type": "object"})
}
- async fn execute(
- &self,
- _args: serde_json::Value,
- ) -> Result<crate::tools::ToolResult> {
+ async fn execute(&self, _args: serde_json::Value) -> Result<crate::tools::ToolResult> {
Ok(crate::tools::ToolResult::success("kept"))
}
}