fix(llm): automatic title not persisted

This commit is contained in:
Elian Doran
2026-03-30 18:59:49 +03:00
parent f2cd1be3af
commit eaaaf3effd

View File

@@ -23,6 +23,7 @@ export async function generateChatTitle(chatNoteId: string, firstMessage: string
const title = await provider.generateTitle(firstMessage);
if (title) {
note.title = title;
note.save();
log.info(`Auto-renamed chat note ${chatNoteId} to "${title}"`);
}
}