com.openai.unity 8.1.0
What's Changed
- 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
Exceptiondata toOpenAI.Errorresponse - Added
ChatEndpoint.StreamCompletionAsyncwithFunc<ChatResponse, Task>overload
Full Changelog: 8.0.3...8.1.0