getLiveOpenRouterModels function

Future<List<ChatModel>> getLiveOpenRouterModels()

Implementation

Future<List<ChatModel>> getLiveOpenRouterModels() async =>
    $OpenRouterModelsListResponse
        .fromJson(decompress(await getLiveOpenRouterData()))
        .data
        .map((i) => i.toChatModel)
        .toList();