This commit is contained in:
Ishaan Jaffer 2026-02-10 14:18:58 -08:00
parent 961d13fd7c
commit a97c300c4a

View file

@ -76,7 +76,7 @@ A contributor PR introduced an extra `{` bracket, producing invalid JSON. The re
---
## What happens if the hosted model cost map is bad (new behavior)
## What happens if the hosted model cost map is bad
After addressing this incident, `get_model_cost_map()` now validates the fetched JSON before using it. If the hosted map is corrupted, empty, or has shrunk significantly, LiteLLM falls back to the local backup and logs a warning.