Skip to content

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]

test: update tests

Krrish Dholakiab0918327336c
diff --git a/tests/litellm/test_utils.py b/tests/litellm/test_utils.py
index f8fe4bd90d9..c6c6b6d4669 100644
--- a/tests/litellm/test_utils.py
+++ b/tests/litellm/test_utils.py
@@ -478,8 +478,8 @@ def test_aaamodel_prices_and_context_window_json_is_valid():
},
}
- # prod_json = "./model_prices_and_context_window.json"
- prod_json = "../../model_prices_and_context_window.json"
+ prod_json = "./model_prices_and_context_window.json"
+ # prod_json = "../../model_prices_and_context_window.json"
with open(prod_json, "r") as model_prices_file:
actual_json = json.load(model_prices_file)
assert isinstance(actual_json, dict)
@@ -639,8 +639,8 @@ async def test_supports_tool_choice():
"""
# Load model prices
litellm._turn_on_debug()
- path = "../../model_prices_and_context_window.json"
- # path = "./model_prices_and_context_window.json"
+ # path = "../../model_prices_and_context_window.json"
+ path = "./model_prices_and_context_window.json"
with open(path, "r") as f:
model_prices = json.load(f)
litellm.model_cost = model_prices