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(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.py
index 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 httpx
import pytest
-from respx import MockRouter
import litellm
from litellm import Choices, Message, ModelResponse
diff --git a/tests/llm_translation/test_nvidia_nim.py b/tests/llm_translation/test_nvidia_nim.py
index 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 httpx
import pytest
-from respx import MockRouter
from unittest.mock import patch, MagicMock, AsyncMock
import litellm
diff --git a/tests/llm_translation/test_openai.py b/tests/llm_translation/test_openai.py
index 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 httpx
import pytest
-from respx import MockRouter
import litellm
from litellm import Choices, Message, ModelResponse
diff --git a/tests/llm_translation/test_openai_o1.py b/tests/llm_translation/test_openai_o1.py
index 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 httpx
import pytest
-from respx import MockRouter
import litellm
from litellm import Choices, Message, ModelResponse
diff --git a/tests/llm_translation/test_prompt_caching.py b/tests/llm_translation/test_prompt_caching.py
index 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 httpx
import pytest
-from respx import MockRouter
import litellm
from litellm import Choices, Message, ModelResponse
diff --git a/tests/llm_translation/test_xai.py b/tests/llm_translation/test_xai.py
index 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 httpx
import pytest
-from respx import MockRouter
import litellm
from litellm import Choices, Message, ModelResponse, EmbeddingResponse, Usage
diff --git a/tests/local_testing/test_router.py b/tests/local_testing/test_router.py
index d6b239c79cc..6d04e6ecaa5 100644
--- a/tests/local_testing/test_router.py
+++ b/tests/local_testing/test_router.py
@@ -20,7 +20,6 @@ import os
from collections import defaultdict
from concurrent.futures import ThreadPoolExecutor
from unittest.mock import AsyncMock, MagicMock, patch
-from respx import MockRouter
import httpx
from dotenv import load_dotenv
from pydantic import BaseModel