mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-25 22:20:43 +00:00
* fix(bedrock): split the OpenAI breakpoint and Bedrock cachePoint model flags supports_prompt_cache_breakpoint meant both "uses the OpenAI prompt_cache_breakpoint format" and "Bedrock Converse takes cachePoint blocks", so an OpenAI-format opt-out on a Bedrock Claude deployment silently turned off its prompt caching. Bedrock now reads only supports_bedrock_converse_cache_point, then supports_prompt_caching as before. The OpenAI path reads supports_openai_prompt_cache_breakpoint and keeps the old key as a deprecated alias. The Kimi K3 catalog rows move to the new Bedrock key, and a Bedrock deployment still on the old key logs a one-time migration warning. Fixes #52140 * fix(bedrock): expose the split prompt cache flags in get_model_info and word the migration warning for unlisted models * test(bedrock): mark the system prompt directly in the routed cache point regression * fix(bedrock): warn about the old breakpoint flag even when a catalog cache point flag decides * fix(cost-map): keep the old Kimi K3 breakpoint flag for clients that read the remote catalog * test(bedrock): keep the old breakpoint flag on catalog cache point opt-outs for older clients --------- Co-authored-by: Joshua Valluru <326636767+joshua-berri@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| core | ||
| __init__.py | ||
| test_enforce_model_rate_limits.py | ||
| test_io_token_rate_limits.py | ||
| test_router.py | ||
| test_router_callback_hook_sequence.py | ||
| test_router_endpoints.py | ||
| test_router_entry_points.py | ||
| test_router_facade.py | ||
| test_router_fallbacks.py | ||
| test_router_fuzz_regressions_rust_only.py | ||
| test_router_get_deployments.py | ||
| test_router_helper_utils.py | ||
| test_router_host.py | ||
| test_router_max_parallel_requests.py | ||
| test_router_provider_endpoints.py | ||
| test_router_retries.py | ||
| test_router_surface_check.py | ||
| test_router_timeout.py | ||
| test_router_vector_store_endpoints.py | ||