Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(triage): update escalation test names and logic

Steven Enamakel76fcd3dca26f
diff --git a/crates/openhuman-core/src/triage/escalation_tests.rs b/crates/openhuman-core/src/triage/escalation_tests.rs
index d44dac969d..8e60c2be4b 100644
--- a/crates/openhuman-core/src/triage/escalation_tests.rs
+++ b/crates/openhuman-core/src/triage/escalation_tests.rs
@@ -81,9 +81,9 @@ fn triage_test_model(
Arc::new(TriageReplyModel {
requests: Arc::clone(&requests),
role,
- model,
+ model: model.clone(),
}) as Arc<dyn ChatModel<()>>,
- "triage-test-model".to_string(),
+ model,
))
}),
probe: None,
@@ -283,7 +283,7 @@ async fn react_dispatch_falls_back_to_parent_model_when_hint_route_cannot_build(
}
#[tokio::test]
-async fn react_dispatch_inherits_the_parent_model_role_for_inherit_targets() {
+async fn react_dispatch_preserves_the_parent_model_role_for_hint_targets() {
let _events_guard = test_events_guard().await;
let temp = tempfile::tempdir().expect("isolated triage workspace");
let workspace = temp.path().join("workspace");