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> |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||