The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
Python agentic-memoryagentic-memory-systemagentsaiai-agentschatgptgenaillmlong-term-memorymemorymemory-managementpythonragstate-management
test: update valkey cluster search test to use top_k parameter (#4815)
Kartik1a53852d93b4
diff --git a/tests/vector_stores/test_valkey.py b/tests/vector_stores/test_valkey.pyindex bd30214d5..78d66615e 100644--- a/tests/vector_stores/test_valkey.py+++ b/tests/vector_stores/test_valkey.py@@ -983,7 +983,7 @@ def test_cluster_mode_search(valkey_db_cluster, mock_valkey_cluster_client):mock_results.docs = [mock_doc]mock_valkey_cluster_client.ft.return_value.search.return_value = mock_results- results = valkey_db_cluster.search("test", np.random.rand(1536).tolist(), limit=5)+ results = valkey_db_cluster.search("test", np.random.rand(1536).tolist(), top_k=5)assert len(results) == 1assert results[0].id == "id1"