agregada variable para PLANILLA_AGENT
All checks were successful
Deploy conversation layer / deploy (push) Successful in 2m0s

This commit is contained in:
2025-06-06 15:20:38 -06:00
parent 2c85e1206b
commit ea276d5d09
2 changed files with 3 additions and 2 deletions

View File

@@ -6,8 +6,8 @@ dotenv.config();
export type Handler = string | ((conv: Conversation) => Promise<string>); export type Handler = string | ((conv: Conversation) => Promise<string>);
export const chatHandlers: Record<string, Handler> = { export const chatHandlers: Record<string, Handler> = {
'50498554225@c.us': process.env.CONVERSATION_AGENT_URL || 'http://localhost:8001', '50498554225@c.us': process.env.CONVERSATION_AGENT_URL || 'http://conversation-layer-agent:8001',
'120363401804322608@g.us' : 'http://planilla-agent:8012' '120363401804322608@g.us' : process.env.PLANILLA_AGENT_URL ||'http://planilla-agent:8012'
// Add other mappings like: // Add other mappings like:
// '50496210031@c.us': 'http://llm-agent:8000' // '50496210031@c.us': 'http://llm-agent:8000'
}; };

View File

@@ -20,6 +20,7 @@ console.log(`LLM Agent URL: ${process.env.LLM_AGENT_URL}`);
console.log(`Open WA URL: ${process.env.OPEN_WA_URL}`); console.log(`Open WA URL: ${process.env.OPEN_WA_URL}`);
console.log(`Webhook URL: ${process.env.WEBHOOK_URL}`); console.log(`Webhook URL: ${process.env.WEBHOOK_URL}`);
console.log(`Conversation Agent URL: ${process.env.CONVERSATION_AGENT_URL}`); console.log(`Conversation Agent URL: ${process.env.CONVERSATION_AGENT_URL}`);
console.log(`Planilla Agent URL: ${process.env.PLANILLA_AGENT_URL}`);
console.log(`Google API Key: ${process.env.GOOGLE_API_KEY}`); console.log(`Google API Key: ${process.env.GOOGLE_API_KEY}`);