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

Fixed empty response issue #98

Merged
merged 3 commits into from
Sep 21, 2023
Merged

Fixed empty response issue #98

merged 3 commits into from
Sep 21, 2023

Conversation

BurnOutDev
Copy link
Contributor

@BurnOutDev BurnOutDev commented Sep 20, 2023

Fixes Issue #94: Chat Gives Empty Response

Root Cause
The parser was expecting chunks to contain triple backticks (```) as a marker to start appending content. However, the chunks were being split into smaller pieces that only contained a pair of backticks (``) and a backtick followed by a newline character (`\n). This caused the parser to never encounter the expected triple backticks, resulting in empty responses.

Screenshot 2023-09-21 at 03 41 52 Screenshot 2023-09-21 at 03 44 13

@steve8708
Copy link
Contributor

amazing, thanks @BurnOutDev !

@steve8708 steve8708 merged commit 89ba88f into BuilderIO:main Sep 21, 2023
2 checks passed
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