isolation logging

This commit is contained in:
Storme-bit
2026-08-18 04:08:57 -07:00
parent 4f6ae8492b
commit 6aefc391d9
@@ -136,6 +136,7 @@ async function getRelevantEntities(vector, { projectId = null, sessionId } = {})
// THIS session. No links yet ⇒ nothing to retrieve, and we return // THIS session. No links yet ⇒ nothing to retrieve, and we return
// early so searchEntities is never called unfiltered. // early so searchEntities is never called unfiltered.
allowedIds = await memory.getEntityIdsBySession(sessionId); allowedIds = await memory.getEntityIdsBySession(sessionId);
logger.info(`[orchestration] Non-project chat, session ${sessionId}: ${allowedIds.length} linked entities`);
if (allowedIds.length === 0) return []; if (allowedIds.length === 0) return [];
} }
const results = await qdrant.searchEntities(vector, { projectId, allowedIds }); const results = await qdrant.searchEntities(vector, { projectId, allowedIds });