sashabaranov / go-openai

OpenAI ChatGPT, GPT-3, GPT-4, DALL·E, Whisper API wrapper for Go
Apache License 2.0
9.03k stars 1.39k forks source link

Add gpt4o #742

Closed nullswan closed 4 months ago

nullswan commented 4 months ago

Describe the change Add gpt4o

Provide OpenAI documentation link https://platform.openai.com/docs/models/gpt-4o

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.68%. Comparing base (774fc9d) to head (91680d8). Report is 13 commits behind head on master.

:exclamation: Current head 91680d8 differs from pull request most recent head 6023da9. Consider uploading reports for the commit 6023da9 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #742 +/- ## ========================================== + Coverage 98.46% 98.68% +0.22% ========================================== Files 24 24 Lines 1364 1140 -224 ========================================== - Hits 1343 1125 -218 + Misses 15 9 -6 Partials 6 6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sashabaranov commented 4 months ago

@nullswan thank you for the PR! Sorry, I accidentally merged #744 because saw it in my mailbox first.

Let's merge the disabledModelsForEndpoints part of this one though!

iCarossio commented 4 months ago

bg @nullswan