test(memory-v2): align pgvector resolve params with score margin and expand cap.
Memind CI / Test, build, and release guards (push) Successful in 3m47s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-09-02 15:08:39 +08:00
parent e370583fc0
commit f6c82182cf
+1 -1
View File
@@ -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);