mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-25 22:20:43 +00:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_batch_line_items.py | ||
| test_batch_utils.py | ||
| test_main.py | ||
| test_responses_batch_cost.py | ||