Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use global docs cache #4741

Merged
merged 14 commits into from
Mar 25, 2025
Prev Previous commit
Next Next commit
Update DocsService.ts
Patrick-Erichsen committed Mar 14, 2025
commit 137d4e48fe8acbb269ae85bbedef7d2e4914d0e3
7 changes: 6 additions & 1 deletion core/indexing/docs/DocsService.ts
Original file line number Diff line number Diff line change
@@ -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"],