mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-06-07 13:20:23 +09:00
feat: support gemini-exp-1114
This commit is contained in:
parent
5a23a4d217
commit
9441c96421
@ -271,6 +271,7 @@ export const KnowledgeCutOffDate: Record<string, string> = {
|
|||||||
// it's now easier to add "KnowledgeCutOffDate" instead of stupid hardcoding it, as was done previously.
|
// it's now easier to add "KnowledgeCutOffDate" instead of stupid hardcoding it, as was done previously.
|
||||||
"gemini-pro": "2023-12",
|
"gemini-pro": "2023-12",
|
||||||
"gemini-pro-vision": "2023-12",
|
"gemini-pro-vision": "2023-12",
|
||||||
|
"gemini-exp-1114": "2024-11",
|
||||||
};
|
};
|
||||||
|
|
||||||
export const DEFAULT_TTS_ENGINE = "OpenAI-TTS";
|
export const DEFAULT_TTS_ENGINE = "OpenAI-TTS";
|
||||||
@ -319,6 +320,7 @@ const googleModels = [
|
|||||||
"gemini-1.5-pro-latest",
|
"gemini-1.5-pro-latest",
|
||||||
"gemini-1.5-flash-latest",
|
"gemini-1.5-flash-latest",
|
||||||
"gemini-pro-vision",
|
"gemini-pro-vision",
|
||||||
|
"gemini-exp-1114",
|
||||||
];
|
];
|
||||||
|
|
||||||
const anthropicModels = [
|
const anthropicModels = [
|
||||||
|
@ -260,6 +260,7 @@ export function isVisionModel(model: string) {
|
|||||||
"claude-3",
|
"claude-3",
|
||||||
"gemini-1.5-pro",
|
"gemini-1.5-pro",
|
||||||
"gemini-1.5-flash",
|
"gemini-1.5-flash",
|
||||||
|
"gemini-exp-1114",
|
||||||
"gpt-4o",
|
"gpt-4o",
|
||||||
"gpt-4o-mini",
|
"gpt-4o-mini",
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user