require('dotenv').config({ path: '../.env' }); async function fetchModels() { try { const response = await fetch('https://api.groq.com/openai/v1/models', { headers: { 'Authorization': `Bearer ${process.env.GROQ_API_KEY}` } }); const data = await response.json(); console.log("RAW GROQ RESPONSE:", JSON.stringify(data, null, 2)); } catch (e) { console.error(e); } } fetchModels();