feat: streamline Composio connector logic by removing redundant checks and enhancing email retrieval for user accounts

This commit is contained in:
Anish Sarkar 2026-02-04 03:03:40 +05:30
parent 65b79f3705
commit 30c6f42102
4 changed files with 221 additions and 190 deletions

View file

@ -166,8 +166,8 @@ async def _delete_connector_async(
user_id=UUID(user_id),
search_space_id=search_space_id,
type="connector_deletion",
title=f"{connector_name} Removed",
message=f"Connector and {total_deleted} {doc_text} have been removed from your knowledge base.",
title=f"{connector_name} removed",
message=f"Cleanup complete. {total_deleted} {doc_text} removed.",
notification_metadata={
"connector_id": connector_id,
"connector_name": connector_name,