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(`