new openai models

This commit is contained in:
DirkSchlossmacher 2024-08-08 10:37:51 +02:00
parent bdee8a8ef8
commit 0ed79aa814
2 changed files with 6 additions and 4 deletions

View File

@ -245,6 +245,7 @@ export const KnowledgeCutOffDate: Record<string, string> = {
"gpt-4o-mini": "2023-10", "gpt-4o-mini": "2023-10",
"gpt-4o-2024-05-13": "2023-10", "gpt-4o-2024-05-13": "2023-10",
"gpt-4o-mini-2024-07-18": "2023-10", "gpt-4o-mini-2024-07-18": "2023-10",
"gpt-4o-2024-08-06": "2023-10",
"gpt-4-vision-preview": "2023-04", "gpt-4-vision-preview": "2023-04",
// After improvements, // After improvements,
@ -265,6 +266,7 @@ const openaiModels = [
// "gpt-4-turbo-preview", // "gpt-4-turbo-preview",
"gpt-4o-mini", "gpt-4o-mini",
"gpt-4o", "gpt-4o",
"gpt-4o-2024-08-06",
// "gpt-4o-2024-05-13", // "gpt-4o-2024-05-13",
// "gpt-4-vision-preview", // "gpt-4-vision-preview",
// "gpt-4-turbo-2024-04-09" // "gpt-4-turbo-2024-04-09"

View File

@ -31,11 +31,11 @@ const config = getClientConfig();
export const DEFAULT_CONFIG = { export const DEFAULT_CONFIG = {
lastUpdate: Date.now(), // timestamp, to merge state lastUpdate: Date.now(), // timestamp, to merge state
submitKey: SubmitKey.Enter, submitKey: SubmitKey.CtrlEnter,
avatar: "1f603", avatar: "1f603",
fontSize: 14, fontSize: 14,
fontFamily: "", fontFamily: "Overpass",
theme: Theme.Auto as Theme, theme: Theme.Light as Theme,
tightBorder: !!config?.isApp, tightBorder: !!config?.isApp,
sendPreviewBubble: false, sendPreviewBubble: false,
enableAutoGenerateTitle: true, enableAutoGenerateTitle: true,
@ -154,7 +154,7 @@ export const useAppConfig = createPersistStore(
} }
if (version < 3.5) { if (version < 3.5) {
state.customModels = "claude,claude-100k"; // state.customModels = "claude,claude-100k";
} }
if (version < 3.6) { if (version < 3.6) {