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]

ci(conftest.py): reset conftest.py for local_testing/ (#6657)

Krish Dholakia9f2053e4afb4
diff --git a/tests/local_testing/conftest.py b/tests/local_testing/conftest.py
index 1421700c9a8..b3561d8a626 100644
--- a/tests/local_testing/conftest.py
+++ b/tests/local_testing/conftest.py
@@ -26,8 +26,11 @@ def setup_and_teardown():
from litellm import Router
importlib.reload(litellm)
+
try:
if hasattr(litellm, "proxy") and hasattr(litellm.proxy, "proxy_server"):
+ import litellm.proxy.proxy_server
+
importlib.reload(litellm.proxy.proxy_server)
except Exception as e:
print(f"Error reloading litellm.proxy.proxy_server: {e}")