feat: extend Dropbox support in chat event streaming and connector naming for enhanced integration

This commit is contained in:
Anish Sarkar 2026-03-30 23:07:25 +05:30
parent 6b922966e7
commit 0d5b902c26
2 changed files with 6 additions and 0 deletions

View file

@ -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",

View file

@ -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")