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(proxy): correct type reference and reformat long lines
Steven Enamakelff373c4f0555
diff --git a/crates/openhuman-core/src/modules/search/proxy.rs b/crates/openhuman-core/src/modules/search/proxy.rsindex c55a4a4b5a..a4303d9674 100644--- a/crates/openhuman-core/src/modules/search/proxy.rs+++ b/crates/openhuman-core/src/modules/search/proxy.rs@@ -46,7 +46,9 @@ async fn proxy(config: &Config) -> Result<tinybus::Proxy, String> {// already holds this configuration. Reinitializing now would race the// module's own initialization.None => {- tracing::debug!("[modules][search] first call; module holds the load-time configuration");+ tracing::debug!(+ "[modules][search] first call; module holds the load-time configuration"+ );}Some(last) if last == current => {}Some(_) => {@@ -63,7 +65,7 @@ async fn proxy(config: &Config) -> Result<tinybus::Proxy, String> {/// Reinitialize, waiting out a module that is still finishing its previous/// (re)initialization instead of failing the caller's search.async fn reinitialize(- runtime: &crate::modules::host::HostRuntime,+ runtime: &crate::modules::host::ModuleRuntime,configuration: serde_json::Value,) -> Result<(), String> {const ATTEMPTS: u32 = 40;@@ -75,11 +77,16 @@ async fn reinitialize({Ok(_) => return Ok(()),Err(error) if attempt < ATTEMPTS && error.to_string().contains("initializing") => {- tracing::debug!(attempt, "[modules][search] module still initializing; retrying");+ tracing::debug!(+ attempt,+ "[modules][search] module still initializing; retrying"+ );tokio::time::sleep(std::time::Duration::from_millis(50)).await;}Err(error) => {- return Err(format!("search module configuration refresh failed: {error}"));+ return Err(format!(+ "search module configuration refresh failed: {error}"+ ));}}}diff --git a/crates/openhuman-core/src/tools/ops_tests_execution_and_serde_tests.rs b/crates/openhuman-core/src/tools/ops_tests_execution_and_serde_tests.rsindex b8b84f7a39..7b116e71ac 100644--- a/crates/openhuman-core/src/tools/ops_tests_execution_and_serde_tests.rs+++ b/crates/openhuman-core/src/tools/ops_tests_execution_and_serde_tests.rs@@ -454,7 +454,10 @@ fn all_tools_registers_querit_as_the_search_role_when_enabled() {#[cfg(feature = "modules")]assert_contains_all(&names, &["web_search_tool"]);// Provider tools stay behind the role tool in the default presentation.- assert!(!names.iter().any(|name| name == "querit_search"), "{names:?}");+ assert!(+ !names.iter().any(|name| name == "querit_search"),+ "{names:?}"+ );}#[test]