mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-01 13:18:10 +00:00
fix(tools): correct mongdb typo to pymongo in package_dependencies (#5891)
Some checks failed
Some checks failed
* fix(tools): correct mongdb typo to pymongo in package_dependencies The `package_dependencies` field in `MongoDBVectorSearchTool` referenced the non-existent package `mongdb` instead of the actual PyPI package `pymongo`, which is the driver imported and used throughout the file. * chore: update tool specifications --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@@ -103,7 +103,7 @@ class MongoDBVectorSearchTool(BaseTool):
|
||||
),
|
||||
]
|
||||
)
|
||||
package_dependencies: list[str] = Field(default_factory=lambda: ["mongdb"])
|
||||
package_dependencies: list[str] = Field(default_factory=lambda: ["pymongo"])
|
||||
|
||||
def __init__(self, **kwargs: Any) -> None:
|
||||
super().__init__(**kwargs)
|
||||
|
||||
@@ -14633,7 +14633,7 @@
|
||||
},
|
||||
"name": "MongoDBVectorSearchTool",
|
||||
"package_dependencies": [
|
||||
"mongdb"
|
||||
"pymongo"
|
||||
],
|
||||
"run_params_schema": {
|
||||
"description": "Input for MongoDBTool.",
|
||||
|
||||
Reference in New Issue
Block a user