Skip to content

Commit 2d6e64e

Browse files
committed
fix test
1 parent 52027f1 commit 2d6e64e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pytest/helper/gsm8k_to_evaluation_row.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
def gsm8k_to_evaluation_row(data: List[Dict[str, Any]]) -> List[EvaluationRow]:
77
return [
88
EvaluationRow(
9-
messages=[Message(role="user", content=row["user_query"])], ground_truth=row["ground_truth_for_eval"]
9+
messages=[Message(**msg) for msg in row["messages"]], ground_truth=row["ground_truth_for_eval"]
1010
)
1111
for row in data
1212
]

0 commit comments

Comments
 (0)