-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed streamCompletionWithoutRetry sometimes dropping tokens
When a json response was previously split across two "data: <JSON>" frames, the parser skipped the frames because the json parsing failed E.g. the following response failed with the old code: ``` data: {"hello": true} ```
- Loading branch information
1 parent
14c8c40
commit 8bdeb19
Showing
1 changed file
with
9 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters