feat(llm): embeddings work and are created when launching for the first ever time

This commit is contained in:
perf3ct
2025-06-05 21:03:15 +00:00
parent bb8a374ab8
commit 3a4bb47cc1
4 changed files with 113 additions and 24 deletions

View File

@@ -282,8 +282,6 @@ export async function processEmbeddingQueue() {
continue;
}
// Log that we're starting to process this note
log.info(`Starting embedding generation for note ${noteId}`);
// Get note context for embedding
const context = await getNoteEmbeddingContext(noteId);
@@ -334,7 +332,6 @@ export async function processEmbeddingQueue() {
"DELETE FROM embedding_queue WHERE noteId = ?",
[noteId]
);
log.info(`Successfully completed embedding processing for note ${noteId}`);
// Count as successfully processed
processedCount++;