Pārlūkot izejas kodu

Merge pull request #6121 from ChatGPTNextWeb/feat/support-openai-o3-mini

feat(model): add support for OpenAI o3-mini model
RiverRay 10 mēneši atpakaļ
vecāks
revīzija
1e20b64048
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      app/constant.ts

+ 3 - 0
app/constant.ts

@@ -450,6 +450,8 @@ export const VISION_MODEL_REGEXES = [
 export const EXCLUDE_VISION_MODEL_REGEXES = [/claude-3-5-haiku-20241022/];
 
 const openaiModels = [
+  // As of July 2024, gpt-4o-mini should be used in place of gpt-3.5-turbo,
+  // as it is cheaper, more capable, multimodal, and just as fast. gpt-3.5-turbo is still available for use in the API.
   "gpt-3.5-turbo",
   "gpt-3.5-turbo-1106",
   "gpt-3.5-turbo-0125",
@@ -472,6 +474,7 @@ const openaiModels = [
   "dall-e-3",
   "o1-mini",
   "o1-preview",
+  "o3-mini",
 ];
 
 const googleModels = [