mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 10:14:26 +00:00
Revert to openai provider check
This commit is contained in:
parent
4ffa9e2fec
commit
d427ba5438
1 changed files with 2 additions and 2 deletions
|
@ -2812,8 +2812,8 @@ def get_optional_params( # noqa: PLR0915
|
|||
or "tools" in non_default_params
|
||||
):
|
||||
if (
|
||||
custom_llm_provider == "ollama"
|
||||
or custom_llm_provider != "text-completion-openai"
|
||||
custom_llm_provider != "openai"
|
||||
and custom_llm_provider != "text-completion-openai"
|
||||
and custom_llm_provider != "azure"
|
||||
and custom_llm_provider != "vertex_ai"
|
||||
and custom_llm_provider != "anyscale"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue