Se generan los planes con IA de manera correcta

This commit is contained in:
2026-01-22 12:39:52 -06:00
parent aa867e4612
commit 4950f7efbf
8 changed files with 115 additions and 154 deletions

View File

@@ -68,9 +68,12 @@ export function WizardControls({
},
}
const data = await generatePlanAI.mutateAsync(aiInput as any)
console.log(`${new Date().toISOString()} - Enviando a generar plan IA`)
// navigate({ to: `/planes/${data.plan.id}` })
const data = await generatePlanAI.mutateAsync(aiInput as any)
console.log(`${new Date().toISOString()} - Plan IA generado`, data)
navigate({ to: `/planes/${data.plan.id}` })
return
}