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]

Merge branch 'litellm_grid-v4-e2e-tests-cZRwz' of http://127.0.0.1:41997/git/BerriAI/litellm into litellm_grid-v4-e2e-tests-cZRwz

Mateo Wangd0847826611c
diff --cc tests/llm_translation/reasoning_effort_grid/test_reasoning_effort_grid.py
index 6925a2aea92,7e74cf1f2f4..e15d4492876
--- a/tests/llm_translation/reasoning_effort_grid/test_reasoning_effort_grid.py
+++ b/tests/llm_translation/reasoning_effort_grid/test_reasoning_effort_grid.py
@@@ -13,14 -13,12 +13,15 @@@ against. Each cell asserts
- Status code returned by LiteLLM (200 vs BadRequestError -> 400) -- the
regression signal for clean-error vs leaked-500 mappings.
-Hits real provider endpoints. Each route is skipped at runtime when its
-required env vars are absent, so PR builds without provider credentials no-op
-gracefully.
+Calls go to real provider endpoints, but the parent
+``tests/llm_translation/conftest.py`` auto-applies ``@pytest.mark.vcr`` to
+every collected item, so first run records cassettes (Redis-backed) and
+subsequent CI runs replay them with no live spend. Each route still skips at
+runtime when its required env vars are absent, so PR builds without provider
+credentials no-op gracefully.
"""
+ import json
import os
from typing import Any, Dict, List, Optional, Tuple