瀏覽代碼

Fix azure openai gpt4v&1106 config (#1811)

Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Charlie.Wei 1 年之前
父節點
當前提交
9f3ed32d0f
共有 1 個文件被更改,包括 14 次插入0 次删除
  1. 14 0
      web/app/components/header/account-setting/model-page/configs/azure_openai.tsx

+ 14 - 0
web/app/components/header/account-setting/model-page/configs/azure_openai.tsx

@@ -145,6 +145,20 @@ const config: ProviderConfig = {
                   'zh-Hans': 'gpt-4-32k',
                   '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',
                 key: 'text-davinci-003',
                 label: {
                 label: {