diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 46fcc28..535c000 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -6290,24 +6290,29 @@ 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' && ( -
- -
- )} -
- {/* Input */} -
+ {/* Botón Continuar O Input según el estado */} + {!loading && messages.length > 0 && messages[messages.length - 1].role === 'assistant' ? ( +
+
+

+ ✓ Verificación completada. Puedes continuar con la inspección o hacer más preguntas. +

+
+ +
+
+
+ ) : ( +
{/* Preview de archivos adjuntos */} {attachedFiles.length > 0 && (
@@ -6390,6 +6395,7 @@ function AIAssistantChatModal({ question, inspection, allAnswers, messages, setM

)}
+ )} {/* Lightbox para visualizar imágenes */} {selectedImage && (