From 91a5f4af9adcf4eef29022f54a1097ba88d1f3c2 Mon Sep 17 00:00:00 2001 From: H0llyW00dzZ Date: Sat, 27 Jan 2024 14:58:35 +0700 Subject: [PATCH] Feat Models [GPT-4-turbo] (#3932) [+] feat(constant.ts): add new models to DEFAULT_MODELS array --- app/constant.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/constant.ts b/app/constant.ts index af64c92dc9c..8f251814088 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -107,6 +107,7 @@ export const SUMMARIZE_MODEL = "gpt-3.5-turbo"; export const KnowledgeCutOffDate: Record = { default: "2021-09", + "gpt-4-turbo-preview": "2023-04", "gpt-4-1106-preview": "2023-04", "gpt-4-0125-preview": "2023-04", "gpt-4-vision-preview": "2023-04", @@ -167,6 +168,15 @@ export const DEFAULT_MODELS = [ providerType: "openai", }, }, + { + name: "gpt-4-turbo-preview", + available: true, + provider: { + id: "openai", + providerName: "OpenAI", + providerType: "openai", + }, + }, { name: "gpt-4-1106-preview", available: true,