getLiveOpenRouterModels function

Future<List<ChatModel>> getLiveOpenRouterModels()

Implementation

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