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: install model fixture and credentials in parent context and subagent tests
Steven Enamakel941fcd03f493
diff --git a/crates/openhuman-core/src/agent/orchestration/parent_context/builder_tests.rs b/crates/openhuman-core/src/agent/orchestration/parent_context/builder_tests.rsindex 7e470420aa..49c527122e 100644--- a/crates/openhuman-core/src/agent/orchestration/parent_context/builder_tests.rs+++ b/crates/openhuman-core/src/agent/orchestration/parent_context/builder_tests.rs@@ -2,10 +2,14 @@ use super::*;fn test_config() -> (tempfile::TempDir, Config) {let dir = tempfile::tempdir().expect("tempdir");- let config = Config {+ let mut config = Config {workspace_dir: dir.path().to_path_buf(),..Config::default()};+ crate::agent::session_host::test_support::install_model_fixture();+ config.default_model = Some("test/session-fixture".into());+ crate::security::credentials::api_key::store_api_key(&config, "test-session-fixture-key")+ .expect("store the managed inference fixture credential");(dir, config)}diff --git a/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rsindex 49310db60f..f325e78388 100644--- a/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs+++ b/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs@@ -479,6 +479,8 @@ fn resolve_subagent_source_hint_with_config_routes_via_factory() {// global default — drives the resolved tier.config.agentic_provider = Some("openhuman".to_string());config.default_model = Some("fixture-reasoning".to_string());+ crate::security::credentials::api_key::store_api_key(&config, "test-session-fixture-key")+ .expect("store the managed inference fixture credential");let parent: Arc<dyn ChatModel<()>> = ScriptedProvider::new(vec![]);let (_resolved_source, resolved_model) = super::super::resolve_subagent_source(