fix: probe memory vector availability

This commit is contained in:
Peter Steinberger
2026-01-17 19:42:23 +00:00
parent 1f8558771a
commit e3638a9a9e
4 changed files with 41 additions and 2 deletions

View File

@@ -369,6 +369,11 @@ export class MemoryIndexManager {
};
}
async probeVectorAvailability(): Promise<boolean> {
if (!this.vector.enabled) return false;
return this.ensureVectorReady();
}
async close(): Promise<void> {
if (this.closed) return;
this.closed = true;