Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAI-DotNet 8.1.0 #334

Merged
merged 3 commits into from
Jun 21, 2024
Merged

OpenAI-DotNet 8.1.0 #334

merged 3 commits into from
Jun 21, 2024

Conversation

StephenHodgson
Copy link
Member

@StephenHodgson StephenHodgson commented Jun 21, 2024

  • 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> to Func<IServerSentEvent, Task>
  • Added Exception data to OpenAI.Error response
  • Added ChatEndpoint.StreamCompletionAsync with Func<ChatResponse, Task> overload

- 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> to Func<IServerSentEvent, Task>
- Added Exception data to OpenAI.Error response
- Added ChatEndpoint.StreamCompletionAsync with Func<ChatResponse, Task> overload
@StephenHodgson StephenHodgson enabled auto-merge (squash) June 21, 2024 01:13
@StephenHodgson StephenHodgson merged commit 3fdd926 into main Jun 21, 2024
3 checks passed
@StephenHodgson StephenHodgson deleted the development branch June 21, 2024 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant