Przeglądaj źródła

feat: Support OpenAI o3-mini

Kadxy 1 rok temu
rodzic
commit
4f28fca506
1 zmienionych plików z 3 dodań i 0 usunięć
  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 = [