From 3c1dd811ddca25e7a1cb7dc1568f1f192290cb6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?th=E1=BB=8Bnh?= Date: Mon, 18 Nov 2024 09:43:43 +0700 Subject: [PATCH] Add option User memories to app capacities --- backend/routers/apps.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/routers/apps.py b/backend/routers/apps.py index c9c92412f..1e4be6be1 100644 --- a/backend/routers/apps.py +++ b/backend/routers/apps.py @@ -153,7 +153,8 @@ def change_app_visibility(app_id: str, private: bool, uid: str = Depends(auth.ge def get_notification_scopes(): return [ {'title': 'User Name', 'id': 'user_name'}, - {'title': 'User Facts', 'id': 'user_facts'} + {'title': 'User Facts', 'id': 'user_facts'}, + {'title': 'User Memories', 'id': 'user_context'} ] @@ -168,7 +169,8 @@ def get_plugin_capabilities(): ]}, {'title': 'Notification', 'id': 'proactive_notification', 'scopes': [ {'title': 'User Name', 'id': 'user_name'}, - {'title': 'User Facts', 'id': 'user_facts'} + {'title': 'User Facts', 'id': 'user_facts'}, + {'title': 'User Memories', 'id': 'user_context'} ]} ]