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 fixes
Ishaan Jafferf205b2c0a586
diff --git a/tests/test_litellm/passthrough/test_passthrough_main.py b/tests/test_litellm/passthrough/test_passthrough_main.pyindex a2008c2f336..27defe0eb0b 100644--- a/tests/test_litellm/passthrough/test_passthrough_main.py+++ b/tests/test_litellm/passthrough/test_passthrough_main.py@@ -182,6 +182,12 @@ def mock_request():class QueryParams:def __init__(self):self._dict = {}++ def __iter__(self):+ return iter(self._dict)++ def items(self):+ return self._dict.items()class MockRequest:def __init__(@@ -291,7 +297,7 @@ async def test_pass_through_request_stream_param_override("POST",httpx.URL("https://api.anthropic.com/v1/messages"),json=request_body,- params=None,+ params={},headers={"Authorization": "Bearer test-key"},@@ -393,7 +399,7 @@ async def test_pass_through_request_stream_param_no_override(headers={"Authorization": "Bearer test-key"},- params=None,+ params={},json=request_body,)