SurfSense/surfsense_backend/app/agents/new_chat/tools/gmail
Anish Sarkar ff6514a99f feat: add DedupHITLToolCallsMiddleware to prevent duplicate tool calls
- Introduced DedupHITLToolCallsMiddleware to prevent duplicate HITL tool calls within a single LLM response, ensuring only the first occurrence of each tool call is retained.
- Updated the create_surfsense_deep_agent function to include the new middleware, enhancing the efficiency of tool interactions.
- Added a new middleware file for better organization and maintainability of the codebase.
2026-03-21 03:47:30 +05:30
..
__init__.py feat: add update functionality for Gmail drafts 2026-03-20 23:50:27 +05:30
create_draft.py feat: add update functionality for Gmail drafts 2026-03-20 23:50:27 +05:30
send_email.py feat: enhance permission handling and user feedback for Gmail and Google Calendar tools 2026-03-20 19:36:00 +05:30
trash_email.py feat: add DedupHITLToolCallsMiddleware to prevent duplicate tool calls 2026-03-21 03:47:30 +05:30
update_draft.py feat: add DedupHITLToolCallsMiddleware to prevent duplicate tool calls 2026-03-21 03:47:30 +05:30