Skip to content

Commit 265ed27

Browse files
committed
test(knowledge): expect the scan settings to share the deadline statement
1 parent 66c972d commit 265ed27

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎apps/sim/lib/knowledge/__integration__/kb-block-search.integration.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,11 @@ describe('API-key KB block fan-out', () => {
131131
const matching = (fragment: string) =>
132132
statements.filter((query) => query.includes(fragment))
133133
/**
134-
* Every statement runs under the leg's deadline: the candidate search reinstates it after
135-
* tuning the scan, and the probe, the exact ranking, the rerank and hydration each open
136-
* with one of their own.
134+
* Every statement runs under the leg's deadline: the candidate search applies it with the
135+
* scan settings in one statement, and the probe, the exact ranking, the rerank and
136+
* hydration each open with one of their own.
137137
*/
138-
expect(matching('statement_timeout')).toHaveLength(bases.length * 6)
138+
expect(matching('statement_timeout')).toHaveLength(bases.length * 5)
139139
/**
140140
* A scope this small leaves the bounded traversal short of its candidate limit, so every
141141
* search probes once and rescues once — never a widening retry loop.

0 commit comments

Comments
 (0)