20 lines
421 B
JavaScript
20 lines
421 B
JavaScript
require('dotenv').config();
|
|
const gemini = require('./gemini');
|
|
|
|
async function test() {
|
|
console.log("Testing 'info I WAYAN GUNUNG'...");
|
|
|
|
// Mock customer context not needed for Admin
|
|
const response = await gemini.generateResponse(
|
|
"info I WAYAN GUNUNG",
|
|
"Admin",
|
|
null,
|
|
null,
|
|
true // isAdmin = true
|
|
);
|
|
|
|
console.log("\nFinal Response:\n", response);
|
|
}
|
|
|
|
test();
|