mirror of
https://gitea.ingwaz.work/Ingwaz/openbrain-mcp.git
synced 2026-06-15 22:07:08 +00:00
fix(tests): use correct parameter name "claim" for evaluate tool
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user