From 22f52b1779ea18446caf99af1713135d3162015a Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Wed, 10 Apr 2024 15:10:21 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20feat:=20Update=20Context=20Limit?= =?UTF-8?q?=20for=20`gpt-3.5-turbo`=20(#2381)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/utils/tokens.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/utils/tokens.js b/api/utils/tokens.js index 02e80d20bee..bc1a5a10f3a 100644 --- a/api/utils/tokens.js +++ b/api/utils/tokens.js @@ -49,7 +49,7 @@ const openAIModels = { 'gpt-4-1106': 127990, // -10 from max 'gpt-4-0125': 127990, // -10 from max 'gpt-4-turbo': 127990, // -10 from max - 'gpt-3.5-turbo': 4092, // -5 from max + 'gpt-3.5-turbo': 16375, // -10 from max 'gpt-3.5-turbo-0613': 4092, // -5 from max 'gpt-3.5-turbo-0301': 4092, // -5 from max 'gpt-3.5-turbo-16k': 16375, // -10 from max