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]

refactor(proxy): drop an inaccurate comment on the mock testing gate

Yuneng Jiang764b2337701f
diff --git a/litellm/proxy/route_llm_request.py b/litellm/proxy/route_llm_request.py
index aebdbca86ad..12e9857219e 100644
--- a/litellm/proxy/route_llm_request.py
+++ b/litellm/proxy/route_llm_request.py
@@ -422,9 +422,6 @@ async def route_request(
await add_shared_session_to_data(data)
- # Gated here rather than alongside the sibling untrusted-param checks in
- # ``litellm_pre_call_utils``: the Responses WebSocket route calls
- # ``route_request`` directly and never runs ``add_litellm_data_to_request``.
raise_if_mock_testing_params_disallowed(data, allowed=mock_testing_params_allowed())
data.pop("enable_tag_filtering", None)