Initial commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
require('dotenv').config();
|
||||
const { GoogleGenAI } = require('@google/genai');
|
||||
const ai = new GoogleGenAI({ apiKey: process.env.GEMINI_API_KEY });
|
||||
ai.models.list().then(res => {
|
||||
console.log(res);
|
||||
}).catch(err => {
|
||||
console.error('Error:', err);
|
||||
});
|
||||
Reference in New Issue
Block a user