mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-01 01:18:34 +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> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_anthropic_responses_bridge.py | ||
| test_client_tool_search.py | ||
| test_compaction_items.py | ||
| test_count_request.py | ||
| test_function_call_output_normalization.py | ||
| test_google_ai_studio_responses_bridge.py | ||
| test_google_ai_studio_responses_wire.py | ||
| test_handler.py | ||
| test_image_generation_output.py | ||
| test_litellm_completion_responses.py | ||
| test_reasoning_input_item_preservation.py | ||
| test_reasoning_items.py | ||
| test_session_handler.py | ||
| test_session_handler_with_cold_storage.py | ||
| test_streaming_iterator_transformation.py | ||
| test_tool_output_order_preserved_for_gemini.py | ||