瀏覽代碼

feat: added gpt-4-1106-preview in ChatGPT model settings

0xJacky 1 年之前
父節點
當前提交
8ac5fc2052
共有 3 個文件被更改,包括 5 次插入2 次删除
  1. 1 1
      frontend/src/version.json
  2. 3 0
      frontend/src/views/preference/OpenAISettings.vue
  3. 1 1
      frontend/version.json

+ 1 - 1
frontend/src/version.json

@@ -1 +1 @@
-{"version":"2.0.0-beta.3","build_id":17,"total_build":221}
+{"version":"2.0.0-beta.3","build_id":18,"total_build":222}

+ 3 - 0
frontend/src/views/preference/OpenAISettings.vue

@@ -12,6 +12,9 @@ const data: IData = inject('data')!
     <a-form layout="vertical">
         <a-form-item :label="$gettext('ChatGPT Model')">
             <a-select v-model:value="data.openai.model">
+                <a-select-option value="gpt-4-1106-preview">
+                    {{ $gettext('GPT-4-Turbo') }}
+                </a-select-option>
                 <a-select-option value="gpt-4">
                     {{ $gettext('GPT-4') }}
                 </a-select-option>

+ 1 - 1
frontend/version.json

@@ -1 +1 @@
-{"version":"2.0.0-beta.3","build_id":17,"total_build":221}
+{"version":"2.0.0-beta.3","build_id":18,"total_build":222}