From 0c560f4dea035f78970764dbe4b34bd6223c9bad Mon Sep 17 00:00:00 2001 From: Thinh Date: Tue, 12 Nov 2024 13:40:35 +0700 Subject: [PATCH] Revert "Disable proactive notifications temporarily" --- backend/routers/apps.py | 8 ++++---- backend/routers/plugins.py | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/backend/routers/apps.py b/backend/routers/apps.py index a0d80cc5c..896a44ef4 100644 --- a/backend/routers/apps.py +++ b/backend/routers/apps.py @@ -165,11 +165,11 @@ def get_plugin_capabilities(): {'title': 'External Integration', 'id': 'external_integration', 'triggers': [ {'title': 'Memory Creation', 'id': 'memory_creation'}, {'title': 'Transcript Processed', 'id': 'transcript_processed'}, + ]}, + {'title': 'Proactive Notification', 'id': 'proactive_notification', 'scopes': [ + {'title': 'User Name', 'id': 'user_name'}, + {'title': 'User Facts', 'id': 'user_facts'} ]} - # {'title': 'Proactive Notification', 'id': 'proactive_notification', 'scopes': [ - # {'title': 'User Name', 'id': 'user_name'}, - # {'title': 'User Facts', 'id': 'user_facts'} - # ]} ] diff --git a/backend/routers/plugins.py b/backend/routers/plugins.py index 7ae7b7618..89d91ca60 100644 --- a/backend/routers/plugins.py +++ b/backend/routers/plugins.py @@ -172,7 +172,8 @@ def get_plugin_triggers(): # TODO: Include audio_bytes trigger when the code for it triggering through plugin is ready return [ {'title': 'Memory Creation', 'id': 'memory_creation'}, - {'title': 'Transcript Processed', 'id': 'transcript_processed'} + {'title': 'Transcript Processed', 'id': 'transcript_processed'}, + {'title': 'Proactive Notification', 'id': 'proactive_notification'} ]