fix: set autoUnload in onLoad() (#5956)
The variable was not initialized resulted in always setting true when starting. This change fixes it.
This commit is contained in:
parent
1c74bfd5ef
commit
07421d7f53
@ -170,6 +170,8 @@ export default class llamacpp_extension extends AIEngine {
|
||||
}
|
||||
this.config = loadedConfig as LlamacppConfig
|
||||
|
||||
this.autoUnload = this.config.auto_unload
|
||||
|
||||
// This sets the base directory where model files for this provider are stored.
|
||||
this.providerPath = await joinPath([
|
||||
await getJanDataFolderPath(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user