Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

Fix Azure OpenAI Provider BASE_MODELS (#1813)

Bannings0b7e0cadc0ea
diff --git a/api/core/model_providers/providers/azure_openai_provider.py b/api/core/model_providers/providers/azure_openai_provider.py
index 0e3d20881ca..25621e72517 100644
--- a/api/core/model_providers/providers/azure_openai_provider.py
+++ b/api/core/model_providers/providers/azure_openai_provider.py
@@ -24,6 +24,8 @@ from models.provider import ProviderType, ProviderModel, ProviderQuotaType
BASE_MODELS = [
'gpt-4',
'gpt-4-32k',
+ 'gpt-4-1106-preview',
+ 'gpt-4-vision-preview',
'gpt-35-turbo',
'gpt-35-turbo-16k',
'text-davinci-003',