diff --git a/backend/open_webui/models/users.py b/backend/open_webui/models/users.py index 05000744dd..8338d17500 100644 --- a/backend/open_webui/models/users.py +++ b/backend/open_webui/models/users.py @@ -168,6 +168,7 @@ class UsersTable: "email": email, "role": role, "profile_image_url": profile_image_url, + "settings": {"ui": {"memory": True}}, "last_active_at": int(time.time()), "created_at": int(time.time()), "updated_at": int(time.time()), diff --git a/src/lib/components/chat/Settings/Account.svelte b/src/lib/components/chat/Settings/Account.svelte index 510910e365..e71af97baf 100644 --- a/src/lib/components/chat/Settings/Account.svelte +++ b/src/lib/components/chat/Settings/Account.svelte @@ -241,8 +241,10 @@ {/if} - - {#if ($config?.features?.enable_api_key ?? true) || $user?.role === 'admin'} + + + {#if $user?.role === 'admin'} +
{$i18n.t('API keys')}
+ {/if} {:else if tabId === 'audio'}