mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-11 03:38:38 +00:00
_get_token_and_url_context_caching() was hardcoding model=None when
calling _check_custom_proxy(), which raises ValueError when api_base
is set because Gemini proxy URLs need the model name:
{api_base}/models/{model}:cachedContents
Fixes #23846
|
||
|---|---|---|
| .. | ||
| test_context_caching_ttl.py | ||
| test_vertex_ai_context_caching.py | ||