factory GroqError.fromJson(Map<String, dynamic> json) => GroqError( message: json['error']['message'], type: json['error']['type'], );