You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following when requesting some completions:
error: type 'Null' is not a subtype of type 'int' in type cast, stacktrace: #0 new Usage.fromMap (package:openai_client/src/model/shared_models/usage.dart:17:53)
I imagine it happens when no results are generated by openAI
The text was updated successfully, but these errors were encountered:
I get the following when requesting some completions:
error: type 'Null' is not a subtype of type 'int' in type cast, stacktrace: #0 new Usage.fromMap (package:openai_client/src/model/shared_models/usage.dart:17:53)
I imagine it happens when no results are generated by openAI
The text was updated successfully, but these errors were encountered: