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(subagent_host): update model resolution test case
Steven Enamakel18d32d3a2ef7
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 1cc0b64f7e..d9c55d7aba 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@@ -462,6 +462,7 @@ fn resolve_subagent_source_hint_with_no_config_falls_back() {#[test]fn resolve_subagent_source_hint_with_config_routes_via_factory() {+ crate::agent::session_host::test_support::install_model_fixture();// The Hint arm with a real config takes the workload-factory path.// We don't assert the *resulting* provider identity here (the// factory may return a fresh OpenHuman backend or whatever@@ -469,8 +470,8 @@ fn resolve_subagent_source_hint_with_config_routes_via_factory() {// is the workload's canonical managed tier — NOT `default_model`,// and NOT the parent's model.//- // Every managed role runs on the managed default model; a retired tier- // slug in `default_model` is not a pin and must not leak to the backend.+ // The provider hook resolves the role through the generic factory; a+ // different configured chat model must not replace the role's selection.use crate::config::Config;let mut config = Config::default();// Route `agentic` to the OpenHuman backend explicitly, and set a@@ -491,8 +492,8 @@ fn resolve_subagent_source_hint_with_config_routes_via_factory() {0.0,);assert_eq!(- resolved_model, "openrouter/deepseek/deepseek-v4-flash",- "Hint must resolve to the managed default model, not a retired tier \+ resolved_model, "test/session-fixture",+ "Hint must resolve through the registered provider model policy, not a retired tier \slug from default_model or the parent's model");}