mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
fix(get_supported_openai_params.py): fix linting error
This commit is contained in:
parent
04d07b090e
commit
e5ed711d55
1 changed files with 3 additions and 1 deletions
|
|
@ -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"):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue