fix: Persist 'Auto-Unload Old Models' setting in llama.cpp (#5906)

The 'Auto-Unload Old Models' setting in the llama.cpp extension failed to persist due to a typo in its key name within `settings.json`. The key was incorrectly `auto_unload_models` instead of `auto_unload`.

This commit corrects the key name to `auto_unload`, ensuring that user-configured changes to this setting are properly saved, retrieved, and persist across application restarts.

This resolves the issue where the setting would change and remain to its previous value after being changed.
This commit is contained in:
Akarshan Biswas 2025-07-25 11:03:15 +05:30 committed by GitHub
parent a1af70f7a9
commit 4d4cf896af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@
"controllerProps": { "value": true } "controllerProps": { "value": true }
}, },
{ {
"key": "auto_unload_models", "key": "auto_unload",
"title": "Auto-Unload Old Models", "title": "Auto-Unload Old Models",
"description": "Automatically unloads models that are not in use to free up memory. Ensure only one model is loaded at a time.", "description": "Automatically unloads models that are not in use to free up memory. Ensure only one model is loaded at a time.",
"controllerType": "checkbox", "controllerType": "checkbox",