From 666727cdcf52725255ad04b22249fe6420ac0edf Mon Sep 17 00:00:00 2001 From: Agent Zero Date: Sat, 4 Apr 2026 14:43:34 +0000 Subject: [PATCH] fix(tests): use correct parameter name "claim" for evaluate tool --- tests/e2e_truth.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/e2e_truth.rs b/tests/e2e_truth.rs index 8f7a005..d1d439b 100644 --- a/tests/e2e_truth.rs +++ b/tests/e2e_truth.rs @@ -229,7 +229,7 @@ async fn e2e_evaluate_returns_valid_truth_assessment() { &base, "evaluate", json!({ - "statement": "The speed of light is approximately 299792458 meters per second", + "claim": "The speed of light is approximately 299792458 meters per second", "context": "physics" }), ) @@ -254,7 +254,7 @@ async fn e2e_evaluate_without_context_parameter() { &base, "evaluate", json!({ - "statement": "Water is composed of hydrogen and oxygen" + "claim": "Water is composed of hydrogen and oxygen" }), ) .await; @@ -280,7 +280,7 @@ async fn e2e_evaluate_unknown_claim_low_confidence() { &client, &base, "evaluate", - json!({ "statement": unique_claim }), + json!({ "claim": unique_claim }), ) .await; @@ -377,7 +377,7 @@ async fn e2e_evaluate_detects_contradictions() { &client, &base, "evaluate", - json!({ "statement": format!("Regarding {unique_topic}: the answer is yes") }), + json!({ "claim": format!("Regarding {unique_topic}: the answer is yes") }), ) .await;