From 931089ef59eb8eb34a2a062b3e1f184f33d1f715 Mon Sep 17 00:00:00 2001 From: cogwheel0 <172976095+cogwheel0@users.noreply.github.com> Date: Wed, 17 Dec 2025 08:13:49 +0530 Subject: [PATCH] (api): update memoryeval from user preferences --- lib/core/services/api_service.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/core/services/api_service.dart b/lib/core/services/api_service.dart index dc3f31d..4ab7266 100644 --- a/lib/core/services/api_service.dart +++ b/lib/core/services/api_service.dart @@ -2863,7 +2863,9 @@ class ApiService { // Check if memory is enabled in user's OpenWebUI settings // This syncs with the user's preference from the web interface - final bool memoryEnabled = userSettings?['memory'] == true; + // Memory setting is stored in ui.memory (matches OpenWebUI web client) + final uiMemorySettings = userSettings?['ui'] as Map?; + final bool memoryEnabled = uiMemorySettings?['memory'] == true; if (enableWebSearch || enableImageGeneration || memoryEnabled) { data['features'] = {