Skip to content

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

fix(agent): correct orchestrator prompt test expectations

Steven Enamakel4826e7804fbe
diff --git a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt_tests.rs b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt_tests.rs
index 3a3386e96c..219e53aeb2 100644
--- a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt_tests.rs
+++ b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt_tests.rs
@@ -557,6 +557,13 @@ fn build_includes_evidence_aware_synthesis_contract() {
// `web_search_tool` sat in its tool list (thread-7e52b, 2026-09-22).
assert!(!body.contains("listed in this prompt"), "{body}");
assert!(body.contains("`web_search_tool` and `web_fetch` are usually in it"));
+ // With no search tool in its list the model called `web_search_tool` three
+ // times and the turn aborted on a validation blocker (Bali trip thread,
+ // 2026-09-29): an unlisted name must never be retried.
+ assert!(body.contains("an unlisted name fails as unknown every time, so never retry one"));
+ // The web tools are routed across providers with fallback; forcing a
+ // provider disables it.
+ assert!(body.contains("leave `provider` unset unless the user names one"));
assert!(body.contains(
"anything public on the web (a public repository, a product page, docs) never go to a service"
));