feat - re-use openai client for text completion

This commit is contained in:
Ishaan Jaff 2024-04-06 11:28:25 -07:00
parent ad7302cdc8
commit 01fef1a9f8

View file

@ -1769,6 +1769,7 @@ class Router:
or custom_llm_provider == "azure"
or custom_llm_provider == "custom_openai"
or custom_llm_provider == "openai"
or custom_llm_provider == "text-completion-openai"
or "ft:gpt-3.5-turbo" in model_name
or model_name in litellm.open_ai_embedding_models
):