/*
order: 250
title: List Models
slug: list-models
*/

namespace Google.Gemini.IntegrationTests;

public partial class Tests
{
    [TestMethod]
    public async Task ListModels()
    {
        using var client = GetAuthenticatedClient();

        ListModelsResponse response = await client.ModelsListAsync();
        
        foreach (var model in response.Models ?? [])
        {
            Console.WriteLine(model.Name);
        }
        
        response.Models.Should().NotBeNullOrEmpty();
    }
}
