Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions assistant/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,15 @@ sessions
console.log('Qdrant collection not found or not reachable (skipped)');
}

// Restart the daemon so its in-memory Qdrant client drops the stale
// collectionReady flag and will re-create the collection on next use.
const status = getDaemonStatus();
if (status.running) {
await stopDaemon();
await startDaemon();
Comment thread
siddseethepalli marked this conversation as resolved.
console.log('Daemon restarted');
}

console.log('Done.');
});

Expand Down