Skip to content

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

test(flows): cover multiple node ids in inference readiness message

Steven Enamakel45addd247e47
diff --git a/crates/openhuman-core/src/flows/ops/inference_readiness_tests.rs b/crates/openhuman-core/src/flows/ops/inference_readiness_tests.rs
index 93aa698da7..23411259cb 100644
--- a/crates/openhuman-core/src/flows/ops/inference_readiness_tests.rs
+++ b/crates/openhuman-core/src/flows/ops/inference_readiness_tests.rs
@@ -35,7 +35,7 @@ fn mixed_failures_keep_per_role_guidance_order_and_failure_count() {
session_wide: false,
role: "reasoning",
message: "API key not configured for provider".into(),
- node_ids: vec!["agent-reasoning".into()],
+ node_ids: vec!["agent-reasoning".into(), "agent-reasoning-followup".into()],
},
],
};
@@ -47,5 +47,6 @@ fn mixed_failures_keep_per_role_guidance_order_and_failure_count() {
chat < reasoning,
"roles retain deterministic order: {message}"
);
+ assert!(message.contains("'agent-reasoning', 'agent-reasoning-followup'"));
assert!(message.contains("Configure your provider API key in OpenHuman Settings > Providers"));
}