From 92853d6d900db094a409cefebad4d5a479bfdecc Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 20 Jul 2026 23:09:38 -0400 Subject: [PATCH] Only show the download status when the model actually needs downloading --- chrome/content/zotero/xpcom/embeddings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/embeddings.js b/chrome/content/zotero/xpcom/embeddings.js index 0c92df706c..29e2c1d4e0 100644 --- a/chrome/content/zotero/xpcom/embeddings.js +++ b/chrome/content/zotero/xpcom/embeddings.js @@ -1381,7 +1381,7 @@ Zotero.Embeddings.Indexing = new function () { try { await Zotero.Embeddings.initDB(); await _ensureIndexMatchesModel(); - _phase = 'downloading'; + _phase = (await Zotero.Embeddings.isDownloaded()) ? 'indexing' : 'downloading'; _emitProgress(); await Zotero.Embeddings.Indexing.refreshStatus(); await Zotero.Embeddings.preloadModel();