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(triage): improve assertion readability in escalation tests
Steven Enamakelf0a94f411347
diff --git a/crates/openhuman-core/src/triage/escalation_tests.rs b/crates/openhuman-core/src/triage/escalation_tests.rsindex 555ff84b68..7bbf0fd182 100644--- a/crates/openhuman-core/src/triage/escalation_tests.rs+++ b/crates/openhuman-core/src/triage/escalation_tests.rs@@ -52,7 +52,9 @@ impl ChatModel<()> for TriageReplyModel {}}-fn triage_test_model(requests: Arc<Mutex<Vec<ModelRequest>>>) -> crate::inference::registry::ChatModelEntry {+fn triage_test_model(+ requests: Arc<Mutex<Vec<ModelRequest>>>,+) -> crate::inference::registry::ChatModelEntry {crate::inference::registry::ChatModelEntry {build: Arc::new(move |_| {Ok((@@ -140,9 +142,9 @@ async fn react_dispatch_keeps_routing_without_creating_child_lifecycle_records().collect();assert!(tool_names.contains(&"memory"));assert!(tool_names.contains(&"read_workspace_state"));- assert!(!tool_names.iter().any(|name| {- *name == "spawn_subagent" || name.starts_with("delegate_")- }));+ assert!(!tool_names+ .iter()+ .any(|name| { *name == "spawn_subagent" || name.starts_with("delegate_") }));assert!(!tool_names.contains(&"shell"));assert!(!tool_names.contains(&"file_write"));drop(requests);