diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index d9b6b52..46fcc28 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -5419,7 +5419,7 @@ function InspectionModal({ checklist, existingInspection, user, onClose, onCompl className="w-full mt-3 px-4 py-3 bg-gradient-to-r from-purple-600 to-blue-600 text-white rounded-lg hover:from-purple-700 hover:to-blue-700 transition flex items-center justify-center gap-2 font-semibold shadow-lg" > 💬 - Consultar Asistente + Verificación de Incidencia {answers[currentQuestion.id]?.chatHistory?.length > 0 && ( {answers[currentQuestion.id].chatHistory.length} mensajes @@ -6290,6 +6290,19 @@ function AIAssistantChatModal({ question, inspection, allAnswers, messages, setM )} + {/* Botón Continuar después del mensaje del asistente */} + {!loading && messages.length > 0 && messages[messages.length - 1].role === 'assistant' && ( +
+ +
+ )} +