From 56a1e4606d52e9089bb276d21d894479c81d2aeb Mon Sep 17 00:00:00 2001 From: marsalva Date: Mon, 23 Mar 2026 20:27:15 +0000 Subject: [PATCH] Actualizar server.js --- server.js | 1 - 1 file changed, 1 deletion(-) diff --git a/server.js b/server.js index 9f945c6..de2552e 100644 --- a/server.js +++ b/server.js @@ -856,7 +856,6 @@ async function procesarConIA(ownerId, mensajeCliente, datosExpediente) { const esPrimerMensaje = historialChat.length === 0; let agendaOcupadaTexto = "El técnico tiene la agenda libre en horario laboral."; -let agendaOcupadaTexto = "El técnico tiene la agenda libre en horario laboral."; if (datosExpediente.worker_id) { // 🛑 AÑADIDO: Consulta avanzada que lee Duraciones, Bloqueos y Citas Pendientes const agendaQ = await pool.query(`