Skip to content

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

fix(orchestrator): update prompt test for tool search contract

Steven Enamakel2b88378fe913
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 1702ec0ce9..f04ae523eb 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
@@ -553,7 +553,8 @@ fn build_includes_evidence_aware_synthesis_contract() {
assert!(body.contains("Do not introduce facts its evidence does not support"));
assert!(body.contains("truncated, oversized, partial or unavailable"));
assert!(body.contains("Preserve numeric evidence exactly"));
- assert!(body.contains("Your tools are exactly the ones listed in this prompt"));
+ assert!(body.contains("plus whatever `tool_search` returns"));
+ assert!(body.contains("call `tool_search` with the intent in plain words"));
}
#[test]