fixes for summary prompt, chat route logger, QDrant orphan cleanup, llamacpp stream buffering
This commit is contained in:
@@ -62,6 +62,11 @@ function touchSession(id) {
|
||||
function deleteSession(id) {
|
||||
const db = getDB();
|
||||
db.prepare(`DELETE FROM sessions WHERE id = ?`).run(id);
|
||||
|
||||
//SQLite cascade removed episode rows, clean up QDrant vectors too
|
||||
// Fire-and-forget - payload-filter delete, so it doesn't depend on the rows existing
|
||||
semantic.deleteEpisodesBySession(id)
|
||||
.catch(err => logger.error(`[Memory] QDrant cleanup failed for session ${id}:`, err.message));
|
||||
}
|
||||
|
||||
function updateSession(id, { name, projectId } = {}) {
|
||||
|
||||
Reference in New Issue
Block a user