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(vcr): drop dead 'from respx import MockRouter' imports
Cursor Agent93300019bd97
diff --git a/tests/llm_translation/test_gpt4o_audio.py b/tests/llm_translation/test_gpt4o_audio.pyindex 4b70256335e..169fe855163 100644--- a/tests/llm_translation/test_gpt4o_audio.py+++ b/tests/llm_translation/test_gpt4o_audio.py@@ -11,7 +11,6 @@ sys.path.insert(import httpximport pytest-from respx import MockRouterimport litellmfrom litellm import Choices, Message, ModelResponsediff --git a/tests/llm_translation/test_nvidia_nim.py b/tests/llm_translation/test_nvidia_nim.pyindex 72981665cbf..469516407c8 100644--- a/tests/llm_translation/test_nvidia_nim.py+++ b/tests/llm_translation/test_nvidia_nim.py@@ -11,7 +11,6 @@ sys.path.insert(import httpximport pytest-from respx import MockRouterfrom unittest.mock import patch, MagicMock, AsyncMockimport litellmdiff --git a/tests/llm_translation/test_openai.py b/tests/llm_translation/test_openai.pyindex acbb9c51366..1fec7665daa 100644--- a/tests/llm_translation/test_openai.py+++ b/tests/llm_translation/test_openai.py@@ -12,7 +12,6 @@ sys.path.insert(import httpximport pytest-from respx import MockRouterimport litellmfrom litellm import Choices, Message, ModelResponsediff --git a/tests/llm_translation/test_openai_o1.py b/tests/llm_translation/test_openai_o1.pyindex 0e4761bb4cf..fccb1c6f1e3 100644--- a/tests/llm_translation/test_openai_o1.py+++ b/tests/llm_translation/test_openai_o1.py@@ -11,7 +11,6 @@ sys.path.insert(import httpximport pytest-from respx import MockRouterimport litellmfrom litellm import Choices, Message, ModelResponsediff --git a/tests/llm_translation/test_prompt_caching.py b/tests/llm_translation/test_prompt_caching.pyindex e9d22074a35..eb4703fd677 100644--- a/tests/llm_translation/test_prompt_caching.py+++ b/tests/llm_translation/test_prompt_caching.py@@ -11,7 +11,6 @@ sys.path.insert(import httpximport pytest-from respx import MockRouterimport litellmfrom litellm import Choices, Message, ModelResponsediff --git a/tests/llm_translation/test_xai.py b/tests/llm_translation/test_xai.pyindex f908bb09596..f0945e6e165 100644--- a/tests/llm_translation/test_xai.py+++ b/tests/llm_translation/test_xai.py@@ -11,7 +11,6 @@ sys.path.insert(import httpximport pytest-from respx import MockRouterimport litellmfrom litellm import Choices, Message, ModelResponse, EmbeddingResponse, Usagediff --git a/tests/local_testing/test_router.py b/tests/local_testing/test_router.pyindex d6b239c79cc..6d04e6ecaa5 100644--- a/tests/local_testing/test_router.py+++ b/tests/local_testing/test_router.py@@ -20,7 +20,6 @@ import osfrom collections import defaultdictfrom concurrent.futures import ThreadPoolExecutorfrom unittest.mock import AsyncMock, MagicMock, patch-from respx import MockRouterimport httpxfrom dotenv import load_dotenvfrom pydantic import BaseModel