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

Fix: the toArray() on streamed chat response deltas should only filter null #108

Merged
merged 2 commits into from
Apr 20, 2023

Conversation

gehrisandro
Copy link
Collaborator

@gehrisandro gehrisandro commented Apr 20, 2023

This PR fixes #104

Added some more tests to the chat stream response classes to ensure all the parsing is done properly.

@gehrisandro gehrisandro merged commit c56d0e9 into main Apr 20, 2023
@gehrisandro gehrisandro deleted the fix-filtering-zero-from-streamed-chat-responses branch April 20, 2023 21:47
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.

If I input 0.2+0.3 and the result is .5 instead of 0.5, the leading 0 is lost
1 participant