logs para saber las variables de entorno
All checks were successful
Deploy conversation layer / deploy (push) Successful in 2m2s
All checks were successful
Deploy conversation layer / deploy (push) Successful in 2m2s
This commit is contained in:
@@ -6,6 +6,8 @@ import dotenv from 'dotenv';
|
||||
|
||||
dotenv.config();
|
||||
|
||||
|
||||
|
||||
interface Participant {
|
||||
id: string;
|
||||
name: string;
|
||||
@@ -41,6 +43,8 @@ interface Conversation {
|
||||
|
||||
const PORT = Number(process.env.PORT) || 8001;
|
||||
const API_KEY = process.env.GEMINI_API_KEY || '';
|
||||
console.log('PORT:', process.env.PORT);
|
||||
console.log('MCP_URL:', process.env.MCP_URL);
|
||||
console.log(`Using Gemini API key: ${API_KEY}`);
|
||||
|
||||
const genAI = API_KEY ? new GoogleGenAI({ apiKey: API_KEY }) : null;
|
||||
|
||||
Reference in New Issue
Block a user