Skip to content

Commit

Permalink
make sure to reset known embeddings models (#219994)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken authored Jul 4, 2024
1 parent 63e93de commit 6eaf648
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vs/workbench/api/common/extHostEmbedding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export class ExtHostEmbeddings implements ExtHostEmbeddingsShape {
this._provider.set(handle, { id: embeddingsModel, provider });

return toDisposable(() => {
this._allKnownModels.delete(embeddingsModel);
this._proxy.$unregisterEmbeddingProvider(handle);
this._provider.delete(handle);
});
Expand Down

0 comments on commit 6eaf648

Please sign in to comment.