From 027f22551c556765adeadef8ca2a3d9ae5358ab9 Mon Sep 17 00:00:00 2001 From: gitea Date: Thu, 27 Nov 2025 11:39:25 -0300 Subject: [PATCH] =?UTF-8?q?Frontend=20v1.0.69:=20-=20Agregado=20debug=20lo?= =?UTF-8?q?gging=20para=20investigar=20problema=20de=20carga=20de=20ai=5Fp?= =?UTF-8?q?rompt=20al=20editar=20preguntas=20-=20Console.log=20muestra=20e?= =?UTF-8?q?l=20objeto=20de=20pregunta=20completo=20y=20el=20campo=20ai=5Fp?= =?UTF-8?q?rompt=20espec=C3=ADfico?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backend v1.0.69: - Sincronización de versión con frontend - Schema ya incluye ai_prompt en QuestionBase y Question --- backend/app/main.py | 2 +- frontend/package.json | 2 +- frontend/src/App.jsx | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/app/main.py b/backend/app/main.py index 7617784..8b28020 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -204,7 +204,7 @@ def send_completed_inspection_to_n8n(inspection, db): # No lanzamos excepción para no interrumpir el flujo normal -BACKEND_VERSION = "1.0.68" +BACKEND_VERSION = "1.0.69" app = FastAPI(title="Checklist Inteligente API", version=BACKEND_VERSION) # S3/MinIO configuration diff --git a/frontend/package.json b/frontend/package.json index e43766d..2245dd6 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "checklist-frontend", "private": true, - "version": "1.0.68", + "version": "1.0.69", "type": "module", "scripts": { "dev": "vite", diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 17080d2..3d28351 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -1050,6 +1050,8 @@ function QuestionsManagerModal({ checklist, onClose }) { } const handleEditQuestion = (question) => { + console.log('Editando pregunta:', question) + console.log('AI Prompt de la pregunta:', question.ai_prompt) setEditingQuestion(question) setShowCreateForm(false) setFormData({