Skip to content

Commit

Permalink
Add option User memories to app capacities
Browse files Browse the repository at this point in the history
  • Loading branch information
beastoin committed Nov 18, 2024
1 parent 1b80a7f commit 3c1dd81
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions backend/routers/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'}
]


Expand All @@ -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'}
]}
]

Expand Down

0 comments on commit 3c1dd81

Please sign in to comment.