Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/memory/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,10 @@ class MemoryProviderSession<
for (const schema of schemas) {
pendingPairs.push({ docKey, schema });
}
// Remove these docs from our cached schemaTracker results, so we will
// re-evaluate them. We've run them before, but we may get different
// results when we run them with the new data, so re-run them.
this.sharedSchemaTracker.delete(docKey);
}

// Process pending pairs - may grow as we discover new links
Expand Down