From 20e89f747869b7877da9689cbfc0fac370c85384 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Thu, 11 Apr 2024 00:06:15 +0800 Subject: [PATCH] Add generally available GPT-4 Turbo via API Reference: - https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4 --- src/config/index.mjs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/config/index.mjs b/src/config/index.mjs index 2f0c6f62..e86dc00d 100644 --- a/src/config/index.mjs +++ b/src/config/index.mjs @@ -42,6 +42,7 @@ export const chatgptApiModelKeys = [ 'chatgptApi4_8k_0613', 'chatgptApi4_32k', 'chatgptApi4_32k_0613', + 'chatgptApi4_128k', 'chatgptApi4_128k_preview', 'chatgptApi4_128k_1106_preview', 'chatgptApi4_128k_0125_preview', @@ -94,6 +95,10 @@ export const Models = { chatgptApi4_8k: { value: 'gpt-4', desc: 'ChatGPT (GPT-4-8k)' }, chatgptApi4_32k: { value: 'gpt-4-32k', desc: 'ChatGPT (GPT-4-32k)' }, + chatgptApi4_128k: { + value: 'gpt-4-turbo', + desc: 'ChatGPT (GPT-4-Turbo 128k)', + }, chatgptApi4_128k_preview: { value: 'gpt-4-turbo-preview', desc: 'ChatGPT (GPT-4-Turbo 128k Preview)',