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
chore: reformat long lines in CLI and test files
Steven Enamakelaf3f8e406f63
diff --git a/crates/openhuman-core/src/core/cli.rs b/crates/openhuman-core/src/core/cli.rsindex b702fae478..f98aa5ca3c 100644--- a/crates/openhuman-core/src/core/cli.rs+++ b/crates/openhuman-core/src/core/cli.rs@@ -429,7 +429,9 @@ fn run_call_command(args: &[String]) -> Result<()> {}"--params" => {if params_stdin {- return Err(anyhow::anyhow!("--params and --params-stdin are mutually exclusive"));+ return Err(anyhow::anyhow!(+ "--params and --params-stdin are mutually exclusive"+ ));}params = args.get(i + 1)@@ -439,13 +441,17 @@ fn run_call_command(args: &[String]) -> Result<()> {}"--params-stdin" => {if params != "{}" {- return Err(anyhow::anyhow!("--params and --params-stdin are mutually exclusive"));+ return Err(anyhow::anyhow!(+ "--params and --params-stdin are mutually exclusive"+ ));}params_stdin = true;i += 1;}"-h" | "--help" => {- println!("Usage: openhuman call --method <name> [--params '<json>' | --params-stdin]");+ println!(+ "Usage: openhuman call --method <name> [--params '<json>' | --params-stdin]"+ );return Ok(());}other => return Err(anyhow::anyhow!("unknown call arg: {other}")),diff --git a/tests/agent_prompt_comprehension_e2e.rs b/tests/agent_prompt_comprehension_e2e.rsindex 2ebe47e95f..d68c60099b 100644--- a/tests/agent_prompt_comprehension_e2e.rs+++ b/tests/agent_prompt_comprehension_e2e.rs@@ -410,7 +410,11 @@ fn spawn_sse_collector(.send().await.unwrap_or_else(|e| panic!("GET {events_url}: {e}"));- assert!(resp.status().is_success(), "GET {events_url}: {}", resp.status());+ assert!(+ resp.status().is_success(),+ "GET {events_url}: {}",+ resp.status()+ );let _ = ready_tx.send(());let mut stream = resp.bytes_stream();let mut buffer: Vec<u8> = Vec::new();