The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(main.py): trigger new build
Krrish Dholakia07dbe6438978
diff --git a/.circleci/config.yml b/.circleci/config.ymlindex e3efd6ca9bc..a891eec41ee 100644--- a/.circleci/config.yml+++ b/.circleci/config.yml@@ -1294,15 +1294,16 @@ jobs:cp model_prices_and_context_window.json litellm/model_prices_and_context_window_backup.json- run:- name: Check if litellm dir was updated or if pyproject.toml was modified+ name: Check if litellm dir, tests dir, or pyproject.toml was modifiedcommand: |- if [ -n "$(git diff --name-only $CIRCLE_SHA1^..$CIRCLE_SHA1 | grep -E 'pyproject\.toml|litellm/')" ]; then- echo "litellm updated"+ if [ -n "$(git diff --name-only $CIRCLE_SHA1^..$CIRCLE_SHA1 | grep -E 'pyproject\.toml|litellm/|tests/')" ]; then+ echo "litellm, tests, or pyproject.toml updated"else- echo "No changes to litellm or pyproject.toml. Skipping PyPI publish."+ echo "No changes to litellm, tests, or pyproject.toml. Skipping PyPI publish."circleci step haltfi+- run:name: Checkout codecommand: git checkout $CIRCLE_SHA1diff --git a/litellm/main.py b/litellm/main.pyindex d17c73c91e0..d33436a96f7 100644--- a/litellm/main.py+++ b/litellm/main.py@@ -1684,7 +1684,6 @@ def completion( # type: ignore # noqa: PLR0915or get_secret("CLARIFAI_API_BASE")or "https://api.clarifai.com/v2")-custom_prompt_dict = custom_prompt_dict or litellm.custom_prompt_dictmodel_response = clarifai.completion(model=model,diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex 4d89091c4da..c673e1feded 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -756,7 +756,8 @@"supports_function_calling": true,"supports_parallel_function_calling": true,"supports_response_schema": true,- "supports_vision": true+ "supports_vision": true,+ "supports_prompt_caching": true},"azure/gpt-4o-2024-11-20": {"max_tokens": 16384,@@ -795,7 +796,8 @@"supports_function_calling": true,"supports_parallel_function_calling": true,"supports_response_schema": true,- "supports_vision": true+ "supports_vision": true,+ "supports_prompt_caching": true},"azure/global-standard/gpt-4o-2024-11-20": {"max_tokens": 16384,