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
Exception
data toOpenAI.Error
response - Added
ChatEndpoint.StreamCompletionAsync
withFunc<ChatResponse, Task>
overload
Full Changelog: 8.0.3...8.1.0