Remove redundant vercel ai gateway parameter mapping
This commit is contained in:
parent
9904dd8f55
commit
631db16248
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user