test(memory-v2): align pgvector resolve params with score margin and expand cap.
Memind CI / Test, build, and release guards (push) Successful in 3m47s
Memind CI / Test, build, and release guards (push) Successful in 3m47s
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user