From 9d4e7cb2b8cc99b364d5fc490bf224091b020707 Mon Sep 17 00:00:00 2001 From: Akarshan Date: Wed, 11 Jun 2025 11:32:55 +0530 Subject: [PATCH] fix: correct model_id to model_id in console error message This change ensures that the error message includes the correct model ID, as `modelId` is capitalized in the `sInfo` object. --- extensions/llamacpp-extension/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/llamacpp-extension/src/index.ts b/extensions/llamacpp-extension/src/index.ts index 9c689503d..5726117e4 100644 --- a/extensions/llamacpp-extension/src/index.ts +++ b/extensions/llamacpp-extension/src/index.ts @@ -142,7 +142,7 @@ export default class llamacpp_extension extends AIEngine { try { await this.unload(sInfo.model_id) } catch (error) { - console.error(`Failed to unload model ${sInfo.modelId}:`, error) + console.error(`Failed to unload model ${sInfo.model_id}:`, error) } }