Skip to content

Commit 3932c59

Browse files
authored
Merge pull request ChatGPTNextWeb#5861 from code-october/update-model
update new model for gpt-4o and gemini-exp
2 parents a2adfbb + b7acb89 commit 3932c59

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

app/constant.ts

+5
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ export const KnowledgeCutOffDate: Record<string, string> = {
264264
"gpt-4o": "2023-10",
265265
"gpt-4o-2024-05-13": "2023-10",
266266
"gpt-4o-2024-08-06": "2023-10",
267+
"gpt-4o-2024-11-20": "2023-10",
267268
"chatgpt-4o-latest": "2023-10",
268269
"gpt-4o-mini": "2023-10",
269270
"gpt-4o-mini-2024-07-18": "2023-10",
@@ -303,6 +304,7 @@ const openaiModels = [
303304
"gpt-4o",
304305
"gpt-4o-2024-05-13",
305306
"gpt-4o-2024-08-06",
307+
"gpt-4o-2024-11-20",
306308
"chatgpt-4o-latest",
307309
"gpt-4o-mini",
308310
"gpt-4o-mini-2024-07-18",
@@ -318,6 +320,9 @@ const googleModels = [
318320
"gemini-1.0-pro",
319321
"gemini-1.5-pro-latest",
320322
"gemini-1.5-flash-latest",
323+
"gemini-exp-1114",
324+
"gemini-exp-1121",
325+
"learnlm-1.5-pro-experimental",
321326
"gemini-pro-vision",
322327
];
323328

app/utils.ts

+2
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,8 @@ export function isVisionModel(model: string) {
260260
"gpt-4o",
261261
"claude-3",
262262
"gemini-1.5",
263+
"gemini-exp",
264+
"learnlm",
263265
"qwen-vl",
264266
"qwen2-vl",
265267
];

0 commit comments

Comments
 (0)