refac: Rename Qdrant multi-tenancy variable for improved clarity and consistency

This commit is contained in:
Kiet Trinh committed 2025-05-15 09:09:24 +00:00
1 parent 485bd7666c
commit 418ac1a8da
2 files changed
+3 -3

No files matched your search

@@ -1,6 +1,6 @@
from open_webui.retrieval.vector.main import VectorDBBase
from open_webui.retrieval.vector.type import VectorType
from open_webui.config import VECTOR_DB, QDRANT_MULTITENANCY
from open_webui.config import VECTOR_DB, ENABLE_QDRANT_MULTITENANCY_MODE
class Vector:
@@ -16,7 +16,7 @@ class Vector:
return MilvusClient()
case VectorType.QDRANT:
if QDRANT_MULTITENANCY:
if ENABLE_QDRANT_MULTITENANCY_MODE:
from open_webui.retrieval.vector.dbs.qdrant_multitenancy import QdrantClient
return QdrantClient()