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
test(search): build agent config with struct update syntax
Steven Enamakel3c7ba570c266
diff --git a/tests/search_pinned_keys_e2e.rs b/tests/search_pinned_keys_e2e.rsindex 8b71dc2267..9b771a79ce 100644--- a/tests/search_pinned_keys_e2e.rs+++ b/tests/search_pinned_keys_e2e.rs@@ -43,9 +43,11 @@ impl Write for Captured {/// One agent's config: the embedder's shape. Both agents share the runtime's/// `config_path`, as every agent of an embedded runtime does.fn agent_config(root: &Path, provider_url: &str, key: &str) -> Config {- let mut config = Config::default();- config.config_path = root.join("config.toml");- config.workspace_dir = root.join("workspace");+ let mut config = Config {+ config_path: root.join("config.toml"),+ workspace_dir: root.join("workspace"),+ ..Config::default()+ };config.secrets.encrypt = false;// Brave alone serves search, whatever else the process could reach.config