Skip to content

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

fix(search): apply rustfmt to web_search and web_search_tests

shanu2be548de7403
diff --git a/src/openhuman/search/tools/web_search.rs b/src/openhuman/search/tools/web_search.rs
index a7396fb89d..6d12c099cb 100644
--- a/src/openhuman/search/tools/web_search.rs
+++ b/src/openhuman/search/tools/web_search.rs
@@ -258,10 +258,7 @@ impl Tool for WebSearchTool {
"[web_search] session expired — retrying with fresh client"
);
fresh_client
- .post::<SearchResponse>(
- "/agent-integrations/parallel/search",
- &body,
- )
+ .post::<SearchResponse>("/agent-integrations/parallel/search", &body)
.await?
}
None => return Err(e),
diff --git a/src/openhuman/search/tools/web_search_tests.rs b/src/openhuman/search/tools/web_search_tests.rs
index cd6b51c630..149eaa1e02 100644
--- a/src/openhuman/search/tools/web_search_tests.rs
+++ b/src/openhuman/search/tools/web_search_tests.rs
@@ -396,5 +396,8 @@ async fn test_session_expired_propagates_when_root_config_absent() {
.execute(json!({"query": "test"}))
.await;
- assert!(result.is_err(), "non-200 backend response must surface as Err");
+ assert!(
+ result.is_err(),
+ "non-200 backend response must surface as Err"
+ );
}