From e0d0801ac73cdc87d1b56ced0a0eb71e574546c3 Mon Sep 17 00:00:00 2001 From: Liu Shuang Date: Thu, 11 Apr 2024 16:39:10 +0800 Subject: [PATCH] feat: add GPT4Turbo and GPT4Turbo20240409 (#703) --- completion.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/completion.go b/completion.go index ab1dbd6..00f43ff 100644 --- a/completion.go +++ b/completion.go @@ -22,6 +22,8 @@ const ( GPT432K = "gpt-4-32k" GPT40613 = "gpt-4-0613" GPT40314 = "gpt-4-0314" + GPT4Turbo = "gpt-4-turbo" + GPT4Turbo20240409 = "gpt-4-turbo-2024-04-09" GPT4Turbo0125 = "gpt-4-0125-preview" GPT4Turbo1106 = "gpt-4-1106-preview" GPT4TurboPreview = "gpt-4-turbo-preview" @@ -84,6 +86,8 @@ var disabledModelsForEndpoints = map[string]map[string]bool{ GPT4VisionPreview: true, GPT4Turbo1106: true, GPT4Turbo0125: true, + GPT4Turbo: true, + GPT4Turbo20240409: true, GPT40314: true, GPT40613: true, GPT432K: true,