mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
* feat(pass_through_endpoints.py): fix anthropic end user cost tracking * fix(anthropic/chat/transformation.py): use returned provider model for anthropic handles anthropic `-latest` tag in request body throwing cost calculation errors ensures we can be accurate in our model cost tracking * feat(model_prices_and_context_window.json): add gemini-2.0-flash-thinking-exp pricing * test: update test to use assumption that user_api_key_dict can get anthropic user id * test: fix test * fix: fix test * fix(anthropic_pass_through.py): uncomment previous anthropic end-user cost tracking code block can't guarantee user api key dict always has end user id - too many code paths * fix(user_api_key_auth.py): this allows end user id from request body to always be read and set in auth object * fix(auth_check.py): fix linting error * test: fix auth check * fix(auth_utils.py): fix get end user id to handle metadata = None |
||
---|---|---|
.. | ||
batches | ||
context_caching | ||
files | ||
fine_tuning | ||
gemini | ||
gemini_embeddings | ||
image_generation | ||
multimodal_embeddings | ||
text_to_speech | ||
vertex_ai_partner_models | ||
vertex_embeddings | ||
vertex_model_garden | ||
common_utils.py | ||
cost_calculator.py | ||
vertex_ai_non_gemini.py | ||
vertex_llm_base.py |