Skip to content

Commit

Permalink
Merge pull request #18 from toshi17/main
Browse files Browse the repository at this point in the history
[Fix] fix bug ignoring subsequent data in stream event
  • Loading branch information
anasfik authored Mar 19, 2023
2 parents 05d95f5 + ef91714 commit 54c88ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/core/networking/client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ class OpenAINetworkingClient {

controller.add(onSuccess(decoded));

return;
continue;
}
final error = jsonDecode(data)['error'];
if (error != null) {
Expand Down

0 comments on commit 54c88ad

Please sign in to comment.