Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

fix: correct model_id to model_id in console error message

Akarshan9d4e7cb2b8cc
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)
}
}