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(passthrough): expect absent query params

Devin AI732ac614cc53
diff --git a/tests/test_litellm/passthrough/test_passthrough_main.py b/tests/test_litellm/passthrough/test_passthrough_main.py
index 546cff18b5d..3f2c434cc00 100644
--- a/tests/test_litellm/passthrough/test_passthrough_main.py
+++ b/tests/test_litellm/passthrough/test_passthrough_main.py
@@ -325,7 +325,7 @@ async def test_pass_through_request_stream_param_override(
"POST",
httpx.URL("https://api.anthropic.com/v1/messages"),
json=request_body,
- params={},
+ params=None,
headers={"Authorization": "Bearer test-key"},
)
@@ -424,7 +424,7 @@ async def test_pass_through_request_stream_param_no_override(
"POST",
httpx.URL("https://api.anthropic.com/v1/messages"),
headers={"Authorization": "Bearer test-key"},
- params={},
+ params=None,
json=request_body,
)
mock_async_client.send.assert_called_once()