From 6c0a6bdc3a16839fa37f6bee2df476e5dc0a7893 Mon Sep 17 00:00:00 2001 From: Christian Bager Bach Houmann Date: Mon, 6 Nov 2023 21:45:02 +0100 Subject: [PATCH] bug: add gpt-4-1106-preview token count info --- src/ai/getModelMaxTokens.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ai/getModelMaxTokens.ts b/src/ai/getModelMaxTokens.ts index f14544c..f0652ee 100644 --- a/src/ai/getModelMaxTokens.ts +++ b/src/ai/getModelMaxTokens.ts @@ -11,6 +11,8 @@ export function getModelMaxTokens(model: Model) { return 8192; case "gpt-3.5-turbo-16k": return 16384; + case "gpt-4-1106-preview": + return 128000; case "gpt-4-32k": return 32768; }