From 4d4cf896af25ae88d72241bc43a2796fa2d47cd2 Mon Sep 17 00:00:00 2001 From: Akarshan Biswas Date: Fri, 25 Jul 2025 11:03:15 +0530 Subject: [PATCH] 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. --- extensions/llamacpp-extension/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/llamacpp-extension/settings.json b/extensions/llamacpp-extension/settings.json index 38bfb3d4c..d07df09f3 100644 --- a/extensions/llamacpp-extension/settings.json +++ b/extensions/llamacpp-extension/settings.json @@ -17,7 +17,7 @@ "controllerProps": { "value": true } }, { - "key": "auto_unload_models", + "key": "auto_unload", "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.", "controllerType": "checkbox",