fix: skip valkey-glide on Windows

This commit is contained in:
Hyu
2026-07-13 00:11:34 +08:00
parent 2a3f7f8059
commit 578565dbe2
6 changed files with 21 additions and 14 deletions
+2 -1
View File
@@ -119,7 +119,8 @@ class ValkeySearchVectorDatabase(VectorDatabase):
def __init__(self, ap: app.Application):
if not VALKEY_SEARCH_AVAILABLE:
raise ImportError(
"valkey-glide is not installed. Install it with: pip install 'valkey-glide>=2.4.1,<3.0.0'"
"valkey-glide is not installed or is unavailable on this platform. "
"On Linux or macOS, install it with: pip install 'valkey-glide>=2.4.1,<3.0.0'"
)
self.ap = ap