diff --git a/surfsense_backend/app/tasks/chat/stream_new_chat.py b/surfsense_backend/app/tasks/chat/stream_new_chat.py index 4b37cb69e..7c1e3b7ea 100644 --- a/surfsense_backend/app/tasks/chat/stream_new_chat.py +++ b/surfsense_backend/app/tasks/chat/stream_new_chat.py @@ -1025,6 +1025,8 @@ async def _stream_agent_events( "delete_google_drive_file", "create_onedrive_file", "delete_onedrive_file", + "create_dropbox_file", + "delete_dropbox_file", "create_gmail_draft", "update_gmail_draft", "send_gmail_email", diff --git a/surfsense_backend/app/utils/connector_naming.py b/surfsense_backend/app/utils/connector_naming.py index 7c72e0781..610be4a22 100644 --- a/surfsense_backend/app/utils/connector_naming.py +++ b/surfsense_backend/app/utils/connector_naming.py @@ -22,6 +22,7 @@ BASE_NAME_FOR_TYPE = { SearchSourceConnectorType.SLACK_CONNECTOR: "Slack", SearchSourceConnectorType.TEAMS_CONNECTOR: "Microsoft Teams", SearchSourceConnectorType.ONEDRIVE_CONNECTOR: "OneDrive", + SearchSourceConnectorType.DROPBOX_CONNECTOR: "Dropbox", SearchSourceConnectorType.NOTION_CONNECTOR: "Notion", SearchSourceConnectorType.LINEAR_CONNECTOR: "Linear", SearchSourceConnectorType.JIRA_CONNECTOR: "Jira", @@ -65,6 +66,9 @@ def extract_identifier_from_credentials( if connector_type == SearchSourceConnectorType.ONEDRIVE_CONNECTOR: return credentials.get("user_email") + if connector_type == SearchSourceConnectorType.DROPBOX_CONNECTOR: + return credentials.get("user_email") + if connector_type == SearchSourceConnectorType.NOTION_CONNECTOR: return credentials.get("workspace_name")