From 137d4e48fe8acbb269ae85bbedef7d2e4914d0e3 Mon Sep 17 00:00:00 2001 From: Patrick Erichsen Date: Fri, 14 Mar 2025 14:56:54 -0700 Subject: [PATCH] Update DocsService.ts --- core/indexing/docs/DocsService.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/indexing/docs/DocsService.ts b/core/indexing/docs/DocsService.ts index 42f485068..0b0b5845c 100644 --- a/core/indexing/docs/DocsService.ts +++ b/core/indexing/docs/DocsService.ts @@ -688,7 +688,12 @@ export default class DocsService { progress: 1, }); - void this.ide.showToast("info", `Successfully indexed ${startUrl}`); + // Only show notificaitons if the user manually re-indexed, otherwise + // they are too noisy, especially when switching embeddings providers + // and we automatically re-index all docs + if (forceReindex) { + void this.ide.showToast("info", `Successfully indexed ${startUrl}`); + } this.messenger?.send("refreshSubmenuItems", { providers: ["docs"],