From 9a16dda56d1c38ed0b2a6b554832afa33fdd7d4f Mon Sep 17 00:00:00 2001 From: Brian Joseph Petro Date: Fri, 6 Dec 2024 20:22:25 -0500 Subject: [PATCH] fix error message --- smart-entities/smart_entities.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smart-entities/smart_entities.js b/smart-entities/smart_entities.js index 49b0aa1b..d19cd490 100644 --- a/smart-entities/smart_entities.js +++ b/smart-entities/smart_entities.js @@ -61,7 +61,7 @@ export class SmartEntities extends Collection { await this.embed_model.load(); } catch (e) { // catch error to ensure collection settings still load - console.error(`Error loading SmartEmbedModel for ${this.embed_model_key}`); + console.error(`Error loading SmartEmbedModel for ${this.embed_model.model_key}`); console.error(e); // TEMP: for backwards compatibility with legacy transformers if (this.env.smart_connections_plugin?.settings?.legacy_transformers) {