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 gpt4v&1106 config (#1811)

Charlie.Wei9f3ed32d0f2e
diff --git a/web/app/components/header/account-setting/model-page/configs/azure_openai.tsx b/web/app/components/header/account-setting/model-page/configs/azure_openai.tsx
index a353eeaabb2..d8c33272341 100644
--- a/web/app/components/header/account-setting/model-page/configs/azure_openai.tsx
+++ b/web/app/components/header/account-setting/model-page/configs/azure_openai.tsx
@@ -145,6 +145,20 @@ const config: ProviderConfig = {
'zh-Hans': 'gpt-4-32k',
},
},
+ {
+ key: 'gpt-4-1106-preview',
+ label: {
+ 'en': 'gpt-4-1106-preview',
+ 'zh-Hans': 'gpt-4-1106-preview',
+ },
+ },
+ {
+ key: 'gpt-4-vision-preview',
+ label: {
+ 'en': 'gpt-4-vision-preview',
+ 'zh-Hans': 'gpt-4-vision-preview',
+ },
+ },
{
key: 'text-davinci-003',
label: {