Forráskód Böngészése

add gpt-4.5-preview support

QwQwQ 7 hónapja
szülő
commit
1d0038f17d
1 módosított fájl, 4 hozzáadás és 0 törlés
  1. 4 0
      app/constant.ts

+ 4 - 0
app/constant.ts

@@ -423,6 +423,8 @@ export const KnowledgeCutOffDate: Record<string, string> = {
   "gpt-4.1-mini-2025-04-14": "2024-06",
   "gpt-4.1-nano": "2024-06",
   "gpt-4.1-nano-2025-04-14": "2024-06",
+  "gpt-4.5-preview": "2023-10",
+  "gpt-4.5-preview-2025-02-27": "2023-10",
   "gpt-4o": "2023-10",
   "gpt-4o-2024-05-13": "2023-10",
   "gpt-4o-2024-08-06": "2023-10",
@@ -498,6 +500,8 @@ const openaiModels = [
   "gpt-4.1-mini-2025-04-14",
   "gpt-4.1-nano",
   "gpt-4.1-nano-2025-04-14",
+  "gpt-4.5-preview",
+  "gpt-4.5-preview-2025-02-27",
   "gpt-4o",
   "gpt-4o-2024-05-13",
   "gpt-4o-2024-08-06",