mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-29 06:33:28 +00:00
* fix(router): read an application profile's base model from metadata on a cache hit The 1h prompt-cache pin check read base_model only from the top level of litellm_params. On a response-cache hit the params it sees carry the base model only under metadata.model_info, so an application-profile ARN resolved to itself and the pin was written for 5 minutes while the wire carried a 1h TTL. Read it through get_base_model_from_metadata, which also checks metadata.model_info * test(router): pin top-level base_model precedence over metadata model_info |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_continuation_prefill_check.py | ||
| test_deployment_affinity_check.py | ||
| test_encrypted_content_affinity_check.py | ||
| test_prompt_caching_deployment_check.py | ||
| test_responses_api_deployment_check.py | ||
| test_session_id_affinity.py | ||