Skip to content

Cannot add new events after calling close: onChatCompletionSSE Responses #75

@SergeAbroyan

Description

@SergeAbroyan

Bad state: Cannot add new events after calling close flutter: #0 _BroadcastStreamController.add (dart:async/broadcast_stream_controller.dart:243:24) #1 OpenAIClient.sse.. (package:chat_gpt_sdk/src/client/openai_client.dart:285:25) #2 _rootRun (dart:async/zone.dart:1391:47) #3 _ZoneDelegate.run (dart:async/zone.dart:952:19) #4 AsyncAction._run (package:mobx/src/api/async/async_action.dart:43:29) #5 _ZoneDelegate.run (dart:async/zone.dart:952:19) #6 AsyncAction._run (package:mobx/src/api/async/async_action.dart:43:29) #7 _ZoneDelegate.run (dart:async/zone.dart:952:19) #8 AsyncAction._run (package:mobx/src/api/async/async_action.dart:43:29) #9 _ZoneDelegate.run (dart:async/zone.dart:952:19) #10 AsyncAction._run (package:mobx/src/api/async/async_action.dart:43:29) #11 _CustomZone.run (dart:async/zone.dart:1301:19) #12 _CustomZone.runGuarded (dart:async/zone.dart:1209:7) #13 _BufferingStreamSubscription._sendDone.sendDone (dart:async/stream_impl.da<…>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions