import { GoogleGenAI } from '@google/genai'; import * as dotenv from 'dotenv'; dotenv.config(); const ai = new GoogleGenAI(); async function run() { const models = await ai.models.list(); for await (const m of models) { console.log(m.name); } } run();