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]

Remove redundant vercel ai gateway parameter mapping

joshualipman123631db1624816
diff --git a/litellm/utils.py b/litellm/utils.py
index ab34e0eb185..c02ffb74f4e 100644
--- a/litellm/utils.py
+++ b/litellm/utils.py
@@ -3832,18 +3832,6 @@ def get_optional_params( # noqa: PLR0915
else False
),
)
- elif custom_llm_provider == "vercel_ai_gateway":
- optional_params = litellm.VercelAIGatewayConfig().map_openai_params(
- non_default_params=non_default_params,
- optional_params=optional_params,
- model=model,
- drop_params=(
- drop_params
- if drop_params is not None and isinstance(drop_params, bool)
- else False
- ),
- )
-
elif custom_llm_provider == "watsonx":
optional_params = litellm.IBMWatsonXChatConfig().map_openai_params(
non_default_params=non_default_params,