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
test: fix test
Krrish Dholakia0e747aaaf1f9
diff --git a/.gitignore b/.gitignoreindex ed8c88c8990..c2ac5137cbe 100644--- a/.gitignore+++ b/.gitignore@@ -95,4 +95,5 @@ test.pylitellm_config.yaml.cursor.vscode/launch.json-litellm/proxy/to_delete_loadtest_work/*\ No newline at end of file+litellm/proxy/to_delete_loadtest_work/*+update_model_cost_map.pydiff --git a/tests/local_testing/test_completion_cost.py b/tests/local_testing/test_completion_cost.pyindex e8f5de534dc..8b546b8427e 100644--- a/tests/local_testing/test_completion_cost.py+++ b/tests/local_testing/test_completion_cost.py@@ -1068,6 +1068,7 @@ def test_completion_cost_prompt_caching(model, custom_llm_provider):(response_1.usage.prompt_tokens- response_1.usage.prompt_tokens_details.cached_tokens+ - response_1.usage.prompt_tokens_details.cache_creation_tokens)* _model_info["input_cost_per_token"]+ (response_1.usage.prompt_tokens_details.cached_tokens or 0)