sashabaranov / go-openai

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

fix: file not closed after CreateFile #798

Closed eiixy closed 4 months ago

eiixy commented 4 months ago

bugfix: #790

codecov[bot] commented 4 months ago

Codecov Report

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

Project coverage is 98.88%. Comparing base (774fc9d) to head (4d1e19e). Report is 27 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #798 +/- ## ========================================== + Coverage 98.46% 98.88% +0.42% ========================================== Files 24 26 +2 Lines 1364 1344 -20 ========================================== - Hits 1343 1329 -14 + 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

Great catch, thank you!