From f684004c9101fab3bbc64dc2f76cab31b874bc07 Mon Sep 17 00:00:00 2001 From: fatih cagatay akyon <34196005+fcakyon@users.noreply.github.com> Date: Tue, 13 Feb 2024 15:02:24 +0300 Subject: [PATCH] fix a typo in gpt-4-0125 context length (#535) it should be 128k instead of 4k. source: https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo --- src/constants/chat.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants/chat.ts b/src/constants/chat.ts index 59cac81b9..07985497b 100644 --- a/src/constants/chat.ts +++ b/src/constants/chat.ts @@ -48,7 +48,7 @@ export const modelMaxToken = { 'gpt-4-32k-0314': 32768, 'gpt-4-32k-0613': 32768, 'gpt-4-1106-preview': 128000, - 'gpt-4-0125-preview': 4096, + 'gpt-4-0125-preview': 128000, }; export const modelCost = {