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: fix test

Krrish Dholakia549acbc82293
diff --git a/litellm/responses/utils.py b/litellm/responses/utils.py
index 2b3d178c260..ac59d28a50d 100644
--- a/litellm/responses/utils.py
+++ b/litellm/responses/utils.py
@@ -111,7 +111,7 @@ class ResponsesAPIRequestUtils:
valid_keys = get_type_hints(ResponsesAPIOptionalRequestParams).keys()
custom_llm_provider = params.pop("custom_llm_provider", None)
- special_params = params.pop("kwargs")
+ special_params = params.pop("kwargs", {})
additional_drop_params = params.pop("additional_drop_params", None)
non_default_params = (