From 9f3ed32d0f2e6b35f39d7a55df94259f402ada6e Mon Sep 17 00:00:00 2001 From: "Charlie.Wei" Date: Thu, 21 Dec 2023 12:37:38 +0800 Subject: [PATCH] Fix azure openai gpt4v&1106 config (#1811) Co-authored-by: luowei Co-authored-by: crazywoola <427733928@qq.com> Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com> --- .../model-page/configs/azure_openai.tsx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 a353eeaabb..d8c3327234 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: {