chore(8.0): final pre-RC1 sweep — API consistency, named errors, orphans, zero-cast codebase
This commit is contained in:
parent
970e08c466
commit
1f7e365a4e
237 changed files with 1951 additions and 49413 deletions
|
|
@ -570,9 +570,9 @@ export class GraphAdjacencyIndex implements GraphIndexProvider {
|
|||
for (const [verbId, verb] of loadedVerbs.entries()) {
|
||||
const cacheKey = `graph:verb:${verbId}`
|
||||
// Cache the loaded verb with metadata
|
||||
// Note: HNSWVerbWithMetadata is compatible with GraphVerb (both interfaces)
|
||||
this.unifiedCache.set(cacheKey, verb as any, 'other', 128, 50) // 128 bytes estimated size, 50ms rebuild cost
|
||||
results.set(verbId, verb as any)
|
||||
// Note: HNSWVerbWithMetadata is structurally assignable to GraphVerb
|
||||
this.unifiedCache.set(cacheKey, verb, 'other', 128, 50) // 128 bytes estimated size, 50ms rebuild cost
|
||||
results.set(verbId, verb)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue