Refine and cleanup

This commit is contained in:
KS Jannette
2026-02-13 10:42:37 -05:00
parent 02affb154c
commit 6b7324c320
10 changed files with 1306 additions and 20 deletions

View File

@@ -30,7 +30,7 @@ router.post('/cluster', async (req, res) => {
const clusters = await clusterNotes(notes);
res.json(clusters);
} catch (err) {
res.status(500).json({ error: 'Clustering failed' });
res.status(500).json({ error: `Clustering failed: ${err}` });
}
});