isolation logging
This commit is contained in:
@@ -136,6 +136,7 @@ async function getRelevantEntities(vector, { projectId = null, sessionId } = {})
|
||||
// THIS session. No links yet ⇒ nothing to retrieve, and we return
|
||||
// early so searchEntities is never called unfiltered.
|
||||
allowedIds = await memory.getEntityIdsBySession(sessionId);
|
||||
logger.info(`[orchestration] Non-project chat, session ${sessionId}: ${allowedIds.length} linked entities`);
|
||||
if (allowedIds.length === 0) return [];
|
||||
}
|
||||
const results = await qdrant.searchEntities(vector, { projectId, allowedIds });
|
||||
|
||||
Reference in New Issue
Block a user