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_acompletion_caching_on_router_caching_groups

Ishaan Jaffer22c033d3d773
diff --git a/tests/local_testing/test_router_caching.py b/tests/local_testing/test_router_caching.py
index 574f133ace9..d9ee4fdeb54 100644
--- a/tests/local_testing/test_router_caching.py
+++ b/tests/local_testing/test_router_caching.py
@@ -213,10 +213,8 @@ async def test_acompletion_caching_with_ttl_on_router():
{
"model_name": "gpt-3.5-turbo",
"litellm_params": {
- "model": "azure/chatgpt-v-3",
- "api_key": os.getenv("AZURE_API_KEY"),
- "api_base": os.getenv("AZURE_API_BASE"),
- "api_version": os.getenv("AZURE_API_VERSION"),
+ "model": "gpt-4.1-nano",
+ "api_key": os.getenv("OPENAI_API_KEY"),
},
"tpm": 100000,
"rpm": 10000,
@@ -277,9 +275,9 @@ async def test_acompletion_caching_on_router_caching_groups():
"rpm": 10000,
},
{
- "model_name": "azure-gpt-3.5-turbo",
+ "model_name": "azure-gpt-4.1-nano",
"litellm_params": {
- "model": "azure/chatgpt-v-3",
+ "model": "azure/gpt-4.1-nano",
"api_key": os.getenv("AZURE_API_KEY"),
"api_base": os.getenv("AZURE_API_BASE"),
"api_version": os.getenv("AZURE_API_VERSION"),