This commit is contained in:
Luis Sanchez 2025-04-24 01:00:39 -07:00 committed by GitHub
commit 9e762d5f7d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3006,7 +3006,7 @@ def get_optional_params( # noqa: PLR0915
or "tools" in non_default_params
):
if (
custom_llm_provider == "ollama"
custom_llm_provider != "openai"
and custom_llm_provider != "text-completion-openai"
and custom_llm_provider != "azure"
and custom_llm_provider != "vertex_ai"