SurfSense/surfsense_backend/app/agents/new_chat/middleware
Anish Sarkar 82c7d4a2ab refactor: enhance deduplication logic for HITL tool calls
Updated the deduplication mechanism in the DedupHITLToolCallsMiddleware to utilize a comprehensive list of native HITL tools. The deduplication keys are now dynamically populated from both hardcoded values and metadata from StructuredTool instances. Additionally, integrated HITL approval into MCP tool creation, ensuring all tools are gated by user approval, with the ability to bypass for trusted tools.
2026-04-13 20:14:12 +05:30
..
__init__.py feat: add MemoryInjectionMiddleware to inject user and team memory into conversation context 2026-04-08 23:23:25 +05:30
dedup_tool_calls.py refactor: enhance deduplication logic for HITL tool calls 2026-04-13 20:14:12 +05:30
filesystem.py refactor: streamline document upload limits and enhance handling of mentioned documents 2026-04-02 19:39:10 -07:00
knowledge_search.py refactor: streamline document upload limits and enhance handling of mentioned documents 2026-04-02 19:39:10 -07:00
memory_injection.py fix: guard display_name.split() against whitespace-only IndexError (recurseml feedback) 2026-04-10 15:29:56 +05:30