From 631db1624816dd9ca2e1bdfd6cfda7f5d107b23a Mon Sep 17 00:00:00 2001 From: joshualipman123 Date: Mon, 4 Aug 2025 17:42:48 -0700 Subject: [PATCH] Remove redundant vercel ai gateway parameter mapping --- litellm/utils.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/litellm/utils.py b/litellm/utils.py index ab34e0eb18..c02ffb74f4 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,