Skip to content

Commit

Permalink
Add option User memories to app capacities (#1344)
Browse files Browse the repository at this point in the history
  • Loading branch information
beastoin authored Nov 18, 2024
2 parents d788d73 + 3c1dd81 commit 1474436
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 1474436

Please sign in to comment.