From 9f19d1c93bf986f2a8925be62f35aa5c413a706a Mon Sep 17 00:00:00 2001 From: nullswan Date: Mon, 13 May 2024 21:07:07 +0200 Subject: [PATCH] Add gpt4o (#742) * Add gpt4o * disabled model for endpoint seen in https://github.com/sashabaranov/go-openai/commit/e0d0801ac73cdc87d1b56ced0a0eb71e574546c3 * Update completion.go --------- Co-authored-by: Alexander Baranov <677093+sashabaranov@users.noreply.github.com> --- completion.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/completion.go b/completion.go index 3b4f895..ced8e06 100644 --- a/completion.go +++ b/completion.go @@ -84,6 +84,8 @@ var disabledModelsForEndpoints = map[string]map[string]bool{ GPT3Dot5Turbo16K: true, GPT3Dot5Turbo16K0613: true, GPT4: true, + GPT4o: true, + GPT4o20240513: true, GPT4TurboPreview: true, GPT4VisionPreview: true, GPT4Turbo1106: true,