litellm-mirror/litellm/llms/vertex_ai
Krish Dholakia 543655adc7 Litellm dev 01 14 2025 p2 (#7772)
* 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
2025-01-15 21:34:50 -08:00
..
batches (Feat - Batches API) add support for retrieving vertex api batch jobs (#7661) 2025-01-09 18:35:03 -08:00
context_caching LiteLLM Minor Fixes & Improvements (12/23/2024) - p3 (#7394) 2024-12-23 22:02:52 -08:00
files (feat) Add cost tracking for /batches requests OpenAI (#7384) 2024-12-23 17:47:26 -08:00
fine_tuning (feat) POST /fine_tuning/jobs support passing vertex specific hyper params (#7490) 2025-01-01 07:44:48 -08:00
gemini fix(vertex_ai/gemini/transformation.py): handle 'http://' in gemini p… (#7660) 2025-01-10 07:31:59 -08:00
gemini_embeddings (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
image_generation (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
multimodal_embeddings (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
text_to_speech (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
vertex_ai_partner_models Litellm dev 01 14 2025 p2 (#7772) 2025-01-15 21:34:50 -08:00
vertex_embeddings (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
vertex_model_garden Litellm dev 2024 12 19 p3 (#7322) 2024-12-20 13:30:16 -08:00
common_utils.py (fix) unable to pass input_type parameter to Voyage AI embedding mode (#7276) 2024-12-17 19:23:49 -08:00
cost_calculator.py LiteLLM Minor Fixes & Improvements (12/23/2024) - p3 (#7394) 2024-12-23 22:02:52 -08:00
vertex_ai_non_gemini.py Litellm dev 01 06 2025 p2 (#7597) 2025-01-06 21:04:49 -08:00
vertex_llm_base.py (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00