Skip to content

Commit

Permalink
Revert "Merge pull request ChatGPTNextWeb#5861 from code-october/upda…
Browse files Browse the repository at this point in the history
…te-model"

This reverts commit 3932c59, reversing
changes made to a2adfbb.
  • Loading branch information
Triedge-sys committed Nov 27, 2024
1 parent 7d0725d commit ed309df
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions app/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,6 @@ export const KnowledgeCutOffDate: Record<string, string> = {
"gpt-4o": "2023-10",
"gpt-4o-2024-05-13": "2023-10",
"gpt-4o-2024-08-06": "2023-10",
"gpt-4o-2024-11-20": "2023-10",
"chatgpt-4o-latest": "2023-10",
"gpt-4o-mini": "2023-10",
"gpt-4o-mini-2024-07-18": "2023-10",
Expand Down Expand Up @@ -304,7 +303,6 @@ const openaiModels = [
"gpt-4o",
"gpt-4o-2024-05-13",
"gpt-4o-2024-08-06",
"gpt-4o-2024-11-20",
"chatgpt-4o-latest",
"gpt-4o-mini",
"gpt-4o-mini-2024-07-18",
Expand All @@ -320,9 +318,6 @@ const googleModels = [
"gemini-1.0-pro",
"gemini-1.5-pro-latest",
"gemini-1.5-flash-latest",
"gemini-exp-1114",
"gemini-exp-1121",
"learnlm-1.5-pro-experimental",
"gemini-pro-vision",
];

Expand Down
2 changes: 0 additions & 2 deletions app/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,6 @@ export function isVisionModel(model: string) {
"gpt-4o",
"claude-3",
"gemini-1.5",
"gemini-exp",
"learnlm",
"qwen-vl",
"qwen2-vl",
"gemini"
Expand Down

0 comments on commit ed309df

Please sign in to comment.