Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/crewai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ dependencies = [
"uv~=0.9.13",
"aiosqlite~=0.21.0",
"pyyaml~=6.0",
"lancedb>=0.29.2,<0.30.1",
"lancedb>=0.29.2,<0.30.1; sys_platform != 'win32'",
"qdrant-edge-py>=0.6.0; sys_platform == 'win32'",
]

[project.urls]
Expand Down
3 changes: 2 additions & 1 deletion lib/crewai/src/crewai/memory/unified_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from __future__ import annotations

import sys
from concurrent.futures import Future, ThreadPoolExecutor
import contextvars
from datetime import datetime
Expand Down Expand Up @@ -68,7 +69,7 @@ class Memory(BaseModel):
description="LLM for analysis (model name or BaseLLM instance).",
)
storage: Annotated[StorageBackend | str, PlainValidator(_passthrough)] = Field(
default="lancedb",
default="qdrant-edge" if sys.platform == "win32" else "lancedb",
description="Storage backend instance or path string.",
)
embedder: Any = Field(
Expand Down
Loading