mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-10 08:28:25 +00:00
Writing NaN as null is now opt-in for spend log columns, the Redis buffer, and streamed frames, so admin writes and logging integrations keep their output. The cost calculator records an overflowing total as 0 with a warning, cost headers leave out non-finite values, a non-streaming NaN usage.cost is dropped instead of failing the response, and a parked NaN spend log row reads back as 0. |
||
|---|---|---|
| .. | ||
| chat | ||
| embedding | ||
| responses | ||
| search | ||
| __init__.py | ||
| test_perplexity.py | ||
| test_perplexity_cost_calculator.py | ||
| test_perplexity_integration.py | ||