Skip to content

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

fix(tests): update assertion for unlisted tool name behaviour

Steven Enamakel3ee1a6508c31
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 1ddc566196..a6785e1551 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
@@ -577,7 +577,7 @@ fn build_includes_evidence_aware_synthesis_contract() {
// 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 unknown name must never be retried.
- assert!(body.contains("Unlisted tool names always fail; don't retry them."));
+ assert!(body.contains("Tools named by a tool result or `tool_search` are callable by name; other unlisted names always fail, so don't retry them."));
// The web tools are routed across providers with fallback; forcing a
// provider disables it.
assert!(body.contains("`provider` unset unless named"));