We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81ae7ea commit 200cddfCopy full SHA for 200cddf
1 file changed
tests/lib/test_formatter.py
@@ -304,7 +304,7 @@ def test_zero_tokens(self):
304
305
def test_known_model_with_tokens(self):
306
result = Formatter.costs("openai/gpt-4o-mini", 1000, 2000)
307
- assert result == {"cached": "0.000075", "total": "0.0012"}
+ assert result == {"cached": "0.0", "total": "0.00119"}
308
309
310
class TestMetrics:
@@ -324,7 +324,7 @@ def test_cost_for_known_model(self):
324
outputs={"total_tokens": 2000, "cached_tokens": 1000},
325
)
326
result = Formatter.metrics(run)
327
- assert result["costs"] == {"cached": "0.000075", "total": "0.0012"}
+ assert result["costs"] == {"cached": "0.0", "total": "0.00119"}
328
329
def test_unknown_model_fallback(self):
330
run = make_metrics_run()
0 commit comments