OpenAI::RunObjectLastError
Inherits JSON::Serializable < Reference < Object
The last error associated with this run. Will be null if there are no errors.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
code=(code : RunObjectLastErrorCode)
One of server_error, rate_limit_exceeded, or invalid_prompt.