From f6c82182cfc3f227ef09cde6ce66166fc3e4a04d Mon Sep 17 00:00:00 2001 From: john Date: Wed, 2 Sep 2026 15:08:39 +0800 Subject: [PATCH] test(memory-v2): align pgvector resolve params with score margin and expand cap. Co-authored-by: Cursor --- memory-v2-runtime.test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memory-v2-runtime.test.mjs b/memory-v2-runtime.test.mjs index 4460dc3..7205a1a 100644 --- a/memory-v2-runtime.test.mjs +++ b/memory-v2-runtime.test.mjs @@ -391,7 +391,7 @@ test('createMemoryV2Runtime selects pgvector only when pool and embedding are co assert.equal(semanticQuery.options.connectionString, 'postgresql://local/memory'); assert.equal(semanticQuery.options.max, 2); assert.match(semanticQuery.sql, /recent_candidates/); - assert.deepEqual(semanticQuery.params, ['u1', '[0.1,0.2,0.3]', 50]); + assert.deepEqual(semanticQuery.params, ['u1', '[0.1,0.2,0.3]', 50, 0.15, 200]); await memory.close(); assert.equal(poolEnded, true);