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>
This commit is contained in:
nullswan
2024-05-13 23:07:07 +04:00
committed by GitHub
co-authored by Alexander Baranov
parent 3b25e09da9
commit 9f19d1c93b
+2
View File
@@ -84,6 +84,8 @@ var disabledModelsForEndpoints = map[string]map[string]bool{
GPT3Dot5Turbo16K: true, GPT3Dot5Turbo16K: true,
GPT3Dot5Turbo16K0613: true, GPT3Dot5Turbo16K0613: true,
GPT4: true, GPT4: true,
GPT4o: true,
GPT4o20240513: true,
GPT4TurboPreview: true, GPT4TurboPreview: true,
GPT4VisionPreview: true, GPT4VisionPreview: true,
GPT4Turbo1106: true, GPT4Turbo1106: true,