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.
This commit is contained in:
parent
d60257ebbd
commit
9d4e7cb2b8
@ -142,7 +142,7 @@ export default class llamacpp_extension extends AIEngine {
|
|||||||
try {
|
try {
|
||||||
await this.unload(sInfo.model_id)
|
await this.unload(sInfo.model_id)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(`Failed to unload model ${sInfo.modelId}:`, error)
|
console.error(`Failed to unload model ${sInfo.model_id}:`, error)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user