feat - re-use OpenAI client for azure text

This commit is contained in:
Ishaan Jaff 2024-04-06 12:23:58 -07:00
parent a2c63075ef
commit a6bc673ffa

View file

@ -1767,6 +1767,7 @@ class Router:
model_name in litellm.open_ai_chat_completion_models
or custom_llm_provider in litellm.openai_compatible_providers
or custom_llm_provider == "azure"
or custom_llm_provider == "azure_text"
or custom_llm_provider == "custom_openai"
or custom_llm_provider == "openai"
or custom_llm_provider == "text-completion-openai"