fix(tests): use correct parameter name "claim" for evaluate tool

This commit is contained in:
Agent Zero
2026-04-04 14:43:34 +00:00
parent 834c2e0981
commit 666727cdcf

View File

@@ -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;