Skip to content

Commit

Permalink
Add gpt4o (#742)
Browse files Browse the repository at this point in the history
* Add gpt4o

* disabled model for endpoint

seen in e0d0801

* Update completion.go

---------

Co-authored-by: Alexander Baranov <[email protected]>
  • Loading branch information
nullswan and sashabaranov authored May 13, 2024
1 parent 3b25e09 commit 9f19d1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

1 comment on commit 9f19d1c

@minicloudsky
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how to use go-openai with gpt4o ? Is there a quickstart doc ?

Please sign in to comment.