feat: version 4.2.1 -- IA para proyectos de cualquier area y propuestas mas compactas

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Milton Gonzalez
2026-10-23 18:30:38 -05:00
parent 9d50bc8564
commit 664d111faf
6 changed files with 36 additions and 9 deletions
@@ -40,7 +40,7 @@ export function NewProjectAiDialog({ open, deptOptions, minLength = 20, onClose,
async function generate() {
setBusy(true); setError('');
try {
const p = await proposeNewProject({ objective, startDate, lang });
const p = await proposeNewProject({ objective, startDate, requestingDepartmentId: departmentId, lang });
setProposal(p);
setName(p.name);
setSelected(p.activities.map((_, i) => i));