The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(search): apply rustfmt to web_search and web_search_tests\n\nCollapse the .post::<SearchResponse>(...) call to a single line and\nexpand the assert! macro — both changes match what cargo fmt produces\nand fix the Rust Quality (fmt, clippy) CI gate failure.\n
shanua5124b851e74
diff --git a/src/openhuman/search/tools/web_search.rs b/src/openhuman/search/tools/web_search.rsindex 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.rsindex 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"+ );}