Skip to content

Commit c2b9ba0

Browse files
author
Dylan Huang
committed
fix the test
1 parent 13fc911 commit c2b9ba0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eval_protocol/pytest/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ def add_cost_metrics(row: EvaluationRow) -> None:
420420
row.execution_metadata.cost_metrics = CostMetrics(
421421
input_cost=0.0,
422422
output_cost=0.0,
423-
total_cost=0.0,
423+
total_cost_dollars=0.0,
424424
)
425425
return
426426

@@ -461,5 +461,5 @@ def add_cost_metrics(row: EvaluationRow) -> None:
461461
row.execution_metadata.cost_metrics = CostMetrics(
462462
input_cost=input_cost,
463463
output_cost=output_cost,
464-
total_cost=total_cost,
464+
total_cost_dollars=total_cost,
465465
)

0 commit comments

Comments
 (0)