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(test): replace mutable field assignments with struct literal syntax
Steven Enamakel53f457928444
diff --git a/tests/json_rpc_e2e.rs b/tests/json_rpc_e2e.rsindex 2c1605483c..61e2a2362b 100644--- a/tests/json_rpc_e2e.rs+++ b/tests/json_rpc_e2e.rs@@ -5274,7 +5274,7 @@ async fn json_rpc_wallet_execution_surface_round_trips() {let (wallet_rpc_addr, raw_txs) = start_mock_wallet_evm_rpc().await;let _evm_provider_guard = EnvVarGuard::set("OPENHUMAN_WALLET_RPC_EVM",- &format!("http://{wallet_rpc_addr}"),+ format!("http://{wallet_rpc_addr}"),);// The same mock stands in for every other chain, so the run never reaches a// public endpoint: chain_status probes each one.diff --git a/tests/media_generation_e2e.rs b/tests/media_generation_e2e.rsindex 0cda42a64b..c57a84e793 100644--- a/tests/media_generation_e2e.rs+++ b/tests/media_generation_e2e.rs@@ -154,10 +154,12 @@ async fn start_backend() -> (String, Backend) {}fn config(root: &Path, api_url: &str) -> Config {- let mut config = Config::default();- config.config_path = root.join("config.toml");- config.workspace_dir = root.join("workspace");- config.api_url = Some(api_url.to_owned());+ let mut config = Config {+ config_path: root.join("config.toml"),+ workspace_dir: root.join("workspace"),+ api_url: Some(api_url.to_owned()),+ ..Default::default()+ };config.secrets.encrypt = false;std::fs::create_dir_all(&config.workspace_dir).unwrap();openhuman_core::security::credentials::api_key::store_api_key(&config, API_KEY)diff --git a/tests/raw_coverage/composio_raw_coverage_e2e.rs b/tests/raw_coverage/composio_raw_coverage_e2e.rsindex 9dd097cc1b..c1c86a2890 100644--- a/tests/raw_coverage/composio_raw_coverage_e2e.rs+++ b/tests/raw_coverage/composio_raw_coverage_e2e.rs@@ -145,8 +145,10 @@ async fn composio_action_tool_execute_reports_missing_route_without_network() {let _module = crate::CONNECTOR_MODULE_LOCK.lock().await;crate::tinyhumans_boot::boot();let tmp = tempfile::tempdir().expect("temp config directory");- let mut config = Config::default();- config.config_path = tmp.path().join("config.toml");+ let config = Config {+ config_path: tmp.path().join("config.toml"),+ ..Default::default()+ };let tool = ComposioActionTool::new(Arc::new(config),"GMAIL_SEND_EMAIL".into(),