Fix litellm.add_function_to_prompt

This commit is contained in:
Luis Sanchez 2025-02-07 20:11:25 -05:00 committed by GitHub
parent 5a42be43e0
commit 4ffa9e2fec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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