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(session_host): seed api key in builder test config
Steven Enamakel7cbdc3e25b93
diff --git a/crates/openhuman-core/src/agent/session_host/builder/builder_tests.rs b/crates/openhuman-core/src/agent/session_host/builder/builder_tests.rsindex 2aac33b5fe..1c64236421 100644--- a/crates/openhuman-core/src/agent/session_host/builder/builder_tests.rs+++ b/crates/openhuman-core/src/agent/session_host/builder/builder_tests.rs@@ -35,6 +35,11 @@ fn test_config(tmp: &tempfile::TempDir) -> crate::config::Config {let mut config = test_config_without_inference(tmp);crate::agent::session_host::test_support::install_model_fixture();config.default_model = Some("test/session-fixture".to_string());+ // Building the model passes the backend-session gate; a standing API key in+ // this session's own state dir satisfies it, and the fixture answers+ // instead of a real provider.+ crate::security::credentials::api_key::store_api_key(&config, "test-builder-key")+ .expect("test api key");config}diff --git a/crates/openhuman-core/src/agent/session_host/builder/builder_tests_host_tools_tests.rs b/crates/openhuman-core/src/agent/session_host/builder/builder_tests_host_tools_tests.rsindex 64f94d4722..abc9e681ce 100644--- a/crates/openhuman-core/src/agent/session_host/builder/builder_tests_host_tools_tests.rs+++ b/crates/openhuman-core/src/agent/session_host/builder/builder_tests_host_tools_tests.rs@@ -254,7 +254,6 @@ fn invalid_dynamic_prompt_fails_before_the_host_tool_factory_runs() {.err().expect("a dynamic prompt without a builder must be rejected");- eprintln!("DBGERR {error:#}");assert!(format!("{error:#}").contains("dynamic prompt but has no builder"),"unexpected error: {error:#}"