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
refactor(session_host): move provider role tests into factory_resolution
Steven Enamakelf3622e724c5d
diff --git a/crates/openhuman-core/src/agent/session_host/builder/factory.rs b/crates/openhuman-core/src/agent/session_host/builder/factory.rsindex 78e1c43430..3be824d4a5 100644--- a/crates/openhuman-core/src/agent/session_host/builder/factory.rs+++ b/crates/openhuman-core/src/agent/session_host/builder/factory.rs@@ -919,7 +919,3 @@ pub(super) fn resolve_target_definition(}use super::factory_resolution::provider_role_for_definition;--#[cfg(test)]-#[path = "factory_provider_role_tests_tests.rs"]-mod provider_role_tests;diff --git a/crates/openhuman-core/src/agent/session_host/builder/factory_resolution.rs b/crates/openhuman-core/src/agent/session_host/builder/factory_resolution.rsindex ec2abc7148..16d479f83e 100644--- a/crates/openhuman-core/src/agent/session_host/builder/factory_resolution.rs+++ b/crates/openhuman-core/src/agent/session_host/builder/factory_resolution.rs@@ -40,3 +40,7 @@ pub(crate) fn provider_role_for_definition(.flatten();provider_role_for(master_hint.as_deref().or(default_model))}++#[cfg(test)]+#[path = "factory_resolution_tests.rs"]+mod tests;diff --git a/crates/openhuman-core/src/agent/session_host/builder/factory_resolution_tests.rs b/crates/openhuman-core/src/agent/session_host/builder/factory_resolution_tests.rsindex 297ded8948..08988cf09d 100644--- a/crates/openhuman-core/src/agent/session_host/builder/factory_resolution_tests.rs+++ b/crates/openhuman-core/src/agent/session_host/builder/factory_resolution_tests.rs@@ -1,4 +1,4 @@-use super::provider_role_for;+use super::*;#[test]fn legacy_orchestrator_fallback_defaults_to_chat() {