litellm/tests/unit/batches
Claude 489dd9416d
feat(cost): price batch output lines in Rust, a whole file per crossing
batch_cost_calculator now prices through a batch_line kind in litellm-cost,
reading each _batches rate, band and half-price fallback the way main's
helpers read its key, with parity fixtures captured once from main. The
core and the bridge gain price_many, and a batch output file's token lines
cross into Rust once with each model's row lowered once. The Python batch
rate helpers are gone and their tests moved to Rust.
2026-11-18 21:07:27 +00:00
..
__init__.py test: add __init__.py to migrated tests/unit packages 2026-09-20 11:53:49 +00:00
test_batch_line_items.py fix(batches): apply the Vertex regional endpoint uplift to batch cost (#47466) 2026-10-20 01:51:51 +00:00
test_batch_utils.py feat(cost): price batch output lines in Rust, a whole file per crossing 2026-11-18 21:07:27 +00:00
test_main.py feat(vertex_ai): label Vertex requests with the caller's key, team, org, and project (#50732) 2026-11-14 00:39:01 -05:00
test_responses_batch_cost.py test: migrate wave 1 phase 1 legacy tests to tests/unit 2026-09-20 09:17:57 +00:00