OpenAI-DotNet 8.1.0
What's Changed
- OpenAI-DotNet 8.1.0 by @StephenHodgson in #334
- Fixed streaming event race conditions where the subscriber to the stream would finish before steam events were executed
- Refactored streaming events callbacks from
Action<IServerSentEvent>
toFunc<IServerSentEvent, Task>
- Added
Exception
data toOpenAI.Error
response - Added
ChatEndpoint.StreamCompletionAsync
withFunc<ChatResponse, Task>
overload
Full Changelog: v8.0.3...v8.1.0