From e5ed711d55059b2af6be54f467bee6d9bc8b162d Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Tue, 11 Feb 2025 19:28:37 -0800 Subject: [PATCH] fix(get_supported_openai_params.py): fix linting error --- litellm/litellm_core_utils/get_supported_openai_params.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/litellm/litellm_core_utils/get_supported_openai_params.py b/litellm/litellm_core_utils/get_supported_openai_params.py index 9358518930c..4ec7625bc66 100644 --- a/litellm/litellm_core_utils/get_supported_openai_params.py +++ b/litellm/litellm_core_utils/get_supported_openai_params.py @@ -122,7 +122,9 @@ def get_supported_openai_params( # noqa: PLR0915 elif custom_llm_provider == "vertex_ai" or custom_llm_provider == "vertex_ai_beta": if request_type == "chat_completion": if model.startswith("meta/"): - return litellm.VertexAILlama3Config().get_supported_openai_params() + return litellm.VertexAILlama3Config().get_supported_openai_params( + model=model + ) if model.startswith("mistral"): return litellm.MistralConfig().get_supported_openai_params(model=model) if model.startswith("codestral"):