mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-24 22:09:56 +00:00
A cost map with a top-level value that is not an object made a reload answer 500 after the new table was already published, so one worker billed new prices while the others kept the old ones. The document is now refused before anything changes, which also lets boot fall back to the bundled map instead of failing the import. Also restores behavior the Rust cost map move changed for SDK callers: - a document that starts with a UTF-8 or UTF-16 byte order mark loads again - an alias_of row that carries other fields is served as its target - register_model(url) fetches nothing when LITELLM_OFFLINE_MODE is set - register_model(None) is a no-op again - the public names RESERVED_TOP_LEVEL_KEYS, FALLBACK_GENERALIZATIONS_KEY, RETRYABLE_FETCH_STATUS_CODES and git_blob_id import again, and so does utils._runtime_registered_model_cost, which downstream test code replaces litellm_core_utils/AGENTS.md now says which removed names come back. |
||
|---|---|---|
| .. | ||
| test_bundled_cost_map_price_wire.py | ||
| test_configured_prices.py | ||
| test_cost_margin_discount.py | ||
| test_databricks_cache_pricing.py | ||
| test_model_listing_token_limits.py | ||
| test_ocr_page_pricing.py | ||
| test_off_peak_pricing.py | ||
| test_opencode_go_reported_cost_wire.py | ||
| test_per_second_pricing.py | ||
| test_price_data_reload_prices.py | ||
| test_price_precedence.py | ||
| test_realtime_cached_audio_pricing.py | ||
| test_sail_service_tier_pricing.py | ||
| test_search_mode_pricing.py | ||
| test_service_tier_pricing.py | ||