Skip to content

Commit 81be16f

Browse files
committed
test(knowledge-pgvector): the statement pin passes the index fingerprint alone
Claude-Session: https://claude.ai/code/session_01FEkQ5pfJqySEaVD3CKvevm Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 923c009 commit 81be16f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/plugins/knowledge-pgvector/src/__tests__/keyword-terms.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ describe('knowledge-pgvector keyword leg statement', () => {
7373
it('sends a caseless Chinese piece as content LIKE and a cased Latin term as content ILIKE', async () => {
7474
const { pool, ranked } = recordingPool();
7575
const adapter = new PgvectorKnowledgeAdapter({ id: 'kw', pool, embedder: new FakeEmbedder() });
76-
await adapter.search('出差 ab', { source, topK: 5, index: { fingerprint: 'fp', recipeHash: 'rh' } });
76+
await adapter.search('出差 ab', { source, topK: 5, index: { fingerprint: 'fp' } });
7777
expect(ranked).toHaveLength(1);
7878
const { text, values } = ranked[0];
7979
// The operator in front of the placeholder a pattern is bound to, read from the statement itself.

0 commit comments

Comments
 (0)