SurfSense/surfsense_backend/app/agents/new_chat
Anish Sarkar 9e7f8d7fe3 feat: enhance chat functionality with improved attachment handling and user experience
- Updated system prompt to clarify usage of the display_image tool, emphasizing URL requirements and restrictions on user-uploaded images.
- Enhanced the streaming chat process to provide more context about user attachments and documents during analysis.
- Implemented state resets when switching between chats to prevent stale data and race conditions.
- Added new components for displaying image previews and document attachments in the chat interface.
- Improved attachment processing to support image data URLs for persistent display after uploads.
2025-12-25 17:52:48 +05:30
..
tools feat: migrated to surfsense deep agent 2025-12-23 01:16:25 -08:00
__init__.py feat: migrated to surfsense deep agent 2025-12-23 01:16:25 -08:00
chat_deepagent.py feat: migrated to surfsense deep agent 2025-12-23 01:16:25 -08:00
checkpointer.py feat: implement new chat feature with message persistence and UI integration 2025-12-21 16:16:50 -08:00
context.py organize deepagent codebase 2025-12-20 18:35:39 +02:00
llm_config.py feat: migrated to surfsense deep agent 2025-12-23 01:16:25 -08:00
system_prompt.py feat: enhance chat functionality with improved attachment handling and user experience 2025-12-25 17:52:48 +05:30
utils.py inject tools at runtime 2025-12-20 18:35:39 +02:00