Skip to content
This repository was archived by the owner on Nov 10, 2025. It is now read-only.

Commit bbc4cea

Browse files
committed
uv pip install -> uv add
1 parent f26a532 commit bbc4cea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crewai_tools/tools/chroma_tool/chroma_search_tool.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,16 @@ def __init__(self, **kwargs):
5555
):
5656
import subprocess
5757

58-
subprocess.run(["uv", "pip", "install", "chromadb"], check=True)
58+
subprocess.run(["uv", "add", "chromadb"], check=True)
5959
else:
6060
raise ImportError(
61-
"You are missing the 'chromadb' package. Please install it with: uv pip install chromadb"
61+
"You are missing the 'chromadb' package. Please install it with: uv add chromadb"
6262
)
6363

6464
def _run(self, query: str, where: Optional[Dict[str, Any]] = None, where_document: Optional[Dict[str, Any]] = None) -> str:
6565
if not CHROMA_AVAILABLE:
6666
raise ImportError(
67-
"You are missing the 'chromadb' package. Please install it with: uv pip install chromadb"
67+
"You are missing the 'chromadb' package. Please install it with: uv add chromadb"
6868
)
6969

7070
if not self.collection:

0 commit comments

Comments
 (0)