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,
|
&base,
|
||||||
"evaluate",
|
"evaluate",
|
||||||
json!({
|
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"
|
"context": "physics"
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
@@ -254,7 +254,7 @@ async fn e2e_evaluate_without_context_parameter() {
|
|||||||
&base,
|
&base,
|
||||||
"evaluate",
|
"evaluate",
|
||||||
json!({
|
json!({
|
||||||
"statement": "Water is composed of hydrogen and oxygen"
|
"claim": "Water is composed of hydrogen and oxygen"
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
.await;
|
.await;
|
||||||
@@ -280,7 +280,7 @@ async fn e2e_evaluate_unknown_claim_low_confidence() {
|
|||||||
&client,
|
&client,
|
||||||
&base,
|
&base,
|
||||||
"evaluate",
|
"evaluate",
|
||||||
json!({ "statement": unique_claim }),
|
json!({ "claim": unique_claim }),
|
||||||
)
|
)
|
||||||
.await;
|
.await;
|
||||||
|
|
||||||
@@ -377,7 +377,7 @@ async fn e2e_evaluate_detects_contradictions() {
|
|||||||
&client,
|
&client,
|
||||||
&base,
|
&base,
|
||||||
"evaluate",
|
"evaluate",
|
||||||
json!({ "statement": format!("Regarding {unique_topic}: the answer is yes") }),
|
json!({ "claim": format!("Regarding {unique_topic}: the answer is yes") }),
|
||||||
)
|
)
|
||||||
.await;
|
.await;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user