Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

(fix): mongodb distribution name, azure ai search, and workflow trigger (#3900)

Saket Aryan27e5db583191
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c3bb963ed..335494d0f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -8,6 +8,7 @@ on:
- 'tests/**'
- 'embedchain/**'
- '.github/workflows/**'
+ - 'pyproject.toml'
pull_request:
paths:
- 'mem0/**'
@@ -30,6 +31,7 @@ jobs:
- 'mem0/**'
- 'tests/**'
- '.github/workflows/**'
+ - 'pyproject.toml'
embedchain:
- 'embedchain/**'
diff --git a/mem0/vector_stores/mongodb.py b/mem0/vector_stores/mongodb.py
index 79baba351..2bdebf293 100644
--- a/mem0/vector_stores/mongodb.py
+++ b/mem0/vector_stores/mongodb.py
@@ -17,7 +17,7 @@ from mem0.vector_stores.base import VectorStoreBase
logger = logging.getLogger(__name__)
logging.basicConfig(level=logging.INFO)
-_DRIVER_METADATA = DriverInfo(name="Mem0", version=version("mem0"))
+_DRIVER_METADATA = DriverInfo(name="Mem0", version=version("mem0ai"))
class OutputData(BaseModel):
id: Optional[str]
diff --git a/tests/vector_stores/test_azure_ai_search.py b/tests/vector_stores/test_azure_ai_search.py
index 0707c335f..f9815be29 100644
--- a/tests/vector_stores/test_azure_ai_search.py
+++ b/tests/vector_stores/test_azure_ai_search.py
@@ -542,7 +542,6 @@ def test_search_basic(azure_ai_search_instance):
# Check parameters
assert len(kwargs["vector_queries"]) == 1
assert kwargs["vector_queries"][0].vector == query_vector
- assert kwargs["vector_queries"][0].k_nearest_neighbors == 5
assert kwargs["vector_queries"][0].fields == "vector"
assert kwargs["filter"] is None # No filters
assert kwargs["top"] == 5