Merge pull request #2878 from BerriAI/litellm_azure_gpt_instruct

re-use Azure OpenAI client for azure text completions
This commit is contained in:
Ishaan Jaff
2024-04-06 13:35:39 -07:00
committed by GitHub
+1
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"