fix: probe memory vector availability

This commit is contained in:
Peter Steinberger committed 2026-01-17 19:46:34 +00:00
1 parent 1f8558771a
commit e3638a9a9e
4 files changed
+41 -2

No files matched your search

+5
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;