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
commit f09e6ba98d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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"