feat: enhance tool management in ComposerAction component

- Added support for grouping tools with connector icons, improving organization and user interaction.
- Implemented logic to toggle tool groups based on their enabled/disabled state, enhancing user experience.
- Updated the display of enabled tools count to reflect the new grouping structure.
- Introduced a new constant for connector tool icon paths to streamline icon management across components.
- Added a new tool action for updating Gmail drafts in the backend agent, expanding functionality.
This commit is contained in:
Anish Sarkar 2026-03-21 11:38:42 +05:30
parent 9cd2c1f712
commit b71dd425f8
3 changed files with 173 additions and 16 deletions

View file

@ -329,6 +329,7 @@ async def create_surfsense_deep_agent(
if not has_gmail_connector:
gmail_tools = [
"create_gmail_draft",
"update_gmail_draft",
"send_gmail_email",
"trash_gmail_email",
]