Closed TheAdamSmith closed 2 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 98.68%. Comparing base (
774fc9d
) to head (7823611
). Report is 17 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Describe the change Updates the integration tests to the updated models so that the tests will work. Updated models based off of the Openai recommended upgrades https://platform.openai.com/docs/deprecations
Provide OpenAI documentation link https://platform.openai.com/docs/deprecations
Describe your solution Refactored the completion streaming test into its own class and added a
NoErrorF
check. This fixes the nil pointer dereference error when this test fails and allows the other tests to keep running. Updated the models the tests were usingTests![image](https://github.com/sashabaranov/go-openai/assets/62568604/c002bbe8-fba1-4a41-8794-d23c4c371cd8)
Additional context https://github.com/sashabaranov/go-openai/issues/761
Issue: #761