SurfSense/surfsense_backend/app/agents/new_chat
DESKTOP-RTLN3BA\$punk ecb0a25cc8 feat: enhance memory management and session handling in database operations
- Introduced a shielded async session context manager to ensure safe session closure during cancellations.
- Updated various database operations to utilize the new shielded session, preventing orphaned connections.
- Added environment variables to optimize glibc memory management, improving overall application performance.
- Implemented a function to trim the native heap, allowing for better memory reclamation on Linux systems.
2026-02-28 23:59:28 -08:00
..
tools
__init__.py
chat_deepagent.py
checkpointer.py
context.py
llm_config.py
sandbox.py
system_prompt.py
utils.py