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]

fix test_drop_params_parallel_tool_calls

Ishaan Jaff4c375d13d6fe
diff --git a/litellm/tests/test_optional_params.py b/litellm/tests/test_optional_params.py
index b2b0a0a2a4a..2cd5c114929 100644
--- a/litellm/tests/test_optional_params.py
+++ b/litellm/tests/test_optional_params.py
@@ -345,7 +345,7 @@ def test_drop_params_parallel_tool_calls(model, provider, should_drop):
response = litellm.utils.get_optional_params(
model=model,
custom_llm_provider=provider,
- response_format="json",
+ response_format={"type": "json"},
parallel_tool_calls=True,
drop_params=True,
)