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

Handle HTTPoison error case during Stream.new/1 - Fixes #51 #52

Merged

Conversation

bfolkens
Copy link
Contributor

@bfolkens bfolkens commented Sep 6, 2023

Per #51 - fix FunctionClauseError when starting an async stream. Adds error handling for %HTTPoison.Error{} to OpenAI.Stream.new/1.

@bfolkens bfolkens marked this pull request as ready for review September 6, 2023 23:46
@mgallo
Copy link
Owner

mgallo commented Sep 10, 2023

thanks a lot for the contribution. LGTM!

@mgallo mgallo merged commit 92d7ee1 into mgallo:main Sep 10, 2023
@bfolkens bfolkens deleted the 51_fix_httpoison_match_error_when_streaming branch September 10, 2023 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants