-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Inference doesn't show whole text during incremental updates. #2354
Comments
Which browser are you using? |
Firefox, version 111.0.1, Linux Mint |
Can confirm this defect for Firefox (same version) on Ubuntu. |
The problem is also observed in Chromium on Android and Chromium on Linux |
Another user in #2374 reported that this seems to occur when there is a comma near the start - all text before the comma is not visible until the generation is complete. |
Similar problem with Chromium on Mac. All text before an apostrophe was not visible until the entire generation was complete |
…from list in chat_stream.ts
…from list in chat_stream.ts
…t in chat_stream.ts (#2458) I found two bugs in chat_stream.ts, one is the possibility of incomplete lines, so the `iteratorSSE` has to buffer those. The second is the main cause for issue #2354, the Object.fromEntries dictionary creator iteratively overwrites 'data' keys, so the yield has to be wrapped in a loop for yielding all lines. This PR should resolve issue #2354
In the currently deployed version on
open-assistant.io/chat
, the incremental inference updates start from some later tokens.In case this isn't resolved yet, I can try to tackle this.
The text was updated successfully, but these errors were encountered: