Frontend v1.0.69:
- Agregado debug logging para investigar problema de carga de ai_prompt al editar preguntas - Console.log muestra el objeto de pregunta completo y el campo ai_prompt específico Backend v1.0.69: - Sincronización de versión con frontend - Schema ya incluye ai_prompt en QuestionBase y Question
This commit is contained in:
@@ -204,7 +204,7 @@ def send_completed_inspection_to_n8n(inspection, db):
|
|||||||
# No lanzamos excepción para no interrumpir el flujo normal
|
# 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)
|
app = FastAPI(title="Checklist Inteligente API", version=BACKEND_VERSION)
|
||||||
|
|
||||||
# S3/MinIO configuration
|
# S3/MinIO configuration
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "checklist-frontend",
|
"name": "checklist-frontend",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.0.68",
|
"version": "1.0.69",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@@ -1050,6 +1050,8 @@ function QuestionsManagerModal({ checklist, onClose }) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const handleEditQuestion = (question) => {
|
const handleEditQuestion = (question) => {
|
||||||
|
console.log('Editando pregunta:', question)
|
||||||
|
console.log('AI Prompt de la pregunta:', question.ai_prompt)
|
||||||
setEditingQuestion(question)
|
setEditingQuestion(question)
|
||||||
setShowCreateForm(false)
|
setShowCreateForm(false)
|
||||||
setFormData({
|
setFormData({
|
||||||
|
|||||||
Reference in New Issue
Block a user