Commit graph

62 commits

Author SHA1 Message Date
Anish Sarkar
793c19556d chore: ran linting 2026-02-16 03:54:19 +05:30
Anish Sarkar
bff52c71ef feat: improve report generation functionality to chat streaming service 2026-02-16 03:53:33 +05:30
CREDO23
79d1f7d603 pass full notion tool output in stream 2026-02-11 17:38:42 +02:00
CREDO23
8f81c9859d deduplicate backend streaming loop into shared _stream_agent_events helper 2026-02-10 19:47:10 +02:00
CREDO23
39ee4742d2 add stream_resume_chat and POST /threads/{id}/resume endpoint 2026-02-10 15:43:52 +02:00
CREDO23
9751918e41 add interrupt detection, SSE event, and resume schemas 2026-02-10 15:35:42 +02:00
DESKTOP-RTLN3BA\$punk
db652116d6 chore: linting 2026-02-09 16:49:11 -08:00
DESKTOP-RTLN3BA\$punk
c979609041 feat: simplified document upload handling
- Introduced a new endpoint for batch document status retrieval, allowing users to check the status of multiple documents in a search space.
- Enhanced the document upload process to return duplicate document IDs and improved response structure.
- Updated schemas to include new response models for document status.
- Removed unused attachment processing code from chat routes and UI components to streamline functionality.
2026-02-09 16:46:54 -08:00
CREDO23
48d442a387 Author labels in shared chats: bootstrap, stream prefix, route display name 2026-02-06 18:09:32 +02:00
CREDO23
d732bb7334 Pass thread_visibility from route to stream to agent 2026-02-06 17:29:00 +02:00
DESKTOP-RTLN3BA\$punk
f85adefe5e chore: made generate_image more agnostic 2026-02-05 17:18:27 -08:00
Eric Lammertsma
318ad4a4ba Removed excessive logging around chat title generation 2026-02-03 20:59:50 -05:00
Eric Lammertsma
d761ca1992 Added chat renaming and auto naming by the active LLM 2026-02-03 20:47:18 -05:00
DESKTOP-RTLN3BA\$punk
6fb656fd8f hotpatch(cloud): add llm load balancing 2026-01-29 15:28:31 -08:00
CREDO23
c65cda24d7 style: fix formatting issues 2026-01-27 13:49:46 +02:00
CREDO23
3c40c6e365 feat: add clone tracking and history bootstrap for cloned chats 2026-01-27 13:33:36 +02:00
CREDO23
a7145b2c63 merge: upstream/dev with migration renumbering 2026-01-27 11:22:26 +02:00
DESKTOP-RTLN3BA\$punk
39d65d6166 feat: added incentive credits system 2026-01-26 23:32:30 -08:00
CREDO23
7017a14107 feat: pass thread_id through podcast generation chain 2026-01-26 15:56:34 +02:00
DESKTOP-RTLN3BA\$punk
db7e865c03 feat(fix): fix mentioned docs chat citation reference
- Updated `format_mentioned_documents_as_context` to include detailed document metadata, including URL and JSON representation of metadata.
- Improved citation handling by using chunk IDs for mentioned documents.
- Adjusted the fetching of mentioned documents to load associated chunks for better citation accuracy.
- Cleaned up the context formatting for better readability and structure.
2026-01-25 00:07:00 -08:00
DESKTOP-RTLN3BA\$punk
ad475397c4 feat(chat): add regenerate endpoint for chat threads to support editing and reloading responses 2026-01-23 01:42:10 -08:00
CREDO23
1a2fa23916 Merge upstream/dev with live collaboration features 2026-01-22 23:00:42 +02:00
Manoj Aggarwal
48fb38bafc Add ability to store and retreive user memory through mcp tool 2026-01-20 15:04:07 -08:00
CREDO23
dc628198ce Integrate session state into chat streaming 2026-01-20 16:40:38 +02:00
DESKTOP-RTLN3BA\$punk
8aad15d392 Reapply "Merge pull request #686 from AnishSarkar22/feat/replace-logs"
This reverts commit 3418c0e026.
2026-01-16 11:32:06 -08:00
DESKTOP-RTLN3BA\$punk
3418c0e026 Revert "Merge pull request #686 from AnishSarkar22/feat/replace-logs"
This reverts commit 5963a1125e, reversing
changes made to 0d2a2f8ea1.
2026-01-16 00:49:33 -08:00
Anish Sarkar
28aa4814bd refactor: improve chat UI and greeting logic
- Simplified chat document processing display by removing the book emoji for a cleaner look.
- Enhanced the greeting function to prioritize user display names over email for a more personalized experience.
- Adjusted the ChatShareButton component by removing unused imports and unnecessary elements for better clarity and performance.
- Updated the title in the Electric SQL documentation for conciseness.
2026-01-15 18:29:30 +05:30
Manoj Aggarwal
305a981d14 feat: add MCP connector backend support 2026-01-13 13:46:01 -08:00
DESKTOP-RTLN3BA\$punk
25b9118306 feat: implement search space deletion and fixed rback issues with shared chats 2026-01-13 01:45:58 -08:00
CREDO23
5e31a228bc fix: consistent citation numbering during streaming 2026-01-13 09:09:53 +02:00
CREDO23
cd3677b5fa feat: add SurfSense docs mention support in chat 2026-01-13 06:14:58 +02:00
CREDO23
5ecdfae8a9 add surfsense docs context formatting in stream_new_chat 2026-01-13 02:50:56 +02:00
Anish Sarkar
2b01120c2b refactor: disable write_todos functionality across chat and UI components
- Commented out the write_todos tracking and messaging logic in the stream_new_chat.py file.
- Disabled the import and usage of WriteTodosToolUI in the new-chat page component.
- Updated related logic in the active connectors tab to remove indexing state handling for write_todos.
- These changes are part of a temporary disablement of the write_todos feature for further evaluation.
2026-01-02 18:22:38 +05:30
DESKTOP-RTLN3BA\$punk
46eb63fa11 hotpatch: remove consitent 2 sec interval api call to logs summary endpoint 2025-12-28 15:52:58 -08:00
Anish Sarkar
0164659f7a refactor: comment out ls tool handling, update assistant UI colors and spacing. 2025-12-28 01:30:53 +05:30
Anish Sarkar
ad47d94b40 refactor: use ChainOfThoughtItem for thinking step display and update dependency lock file. 2025-12-27 16:40:53 +05:30
Anish Sarkar
70383931bb feat: Apply minor UI styling adjustments to sidebar and progress components. Fixed linting for both frontend and backend 2025-12-27 15:27:29 +05:30
Anish Sarkar
c28a90fc29 refactor: integrate TodoListMiddleware and update related components
- Removed the write_todos tool as it is now included by default through TodoListMiddleware in the deep agent.
- Updated the system prompt and documentation to reflect the integration of TodoListMiddleware, clarifying its capabilities for managing planning and todo lists.
- Enhanced the chat handling logic to extract todos directly from the deep agent's command output, ensuring seamless user experience.
- Refactored UI components to align with the new data structure and improve rendering of todo items, including updates to the Plan and TodoItem components.
- Cleaned up code for better maintainability and readability, following recent refactoring efforts.
2025-12-27 15:18:34 +05:30
Anish Sarkar
eb70c055a4 refactor: introduce write_todos tool for enhanced task management
- Added a new write_todos tool to facilitate the creation and management of planning lists within the chat interface.
- Updated system prompt with detailed instructions on using the write_todos tool, including usage patterns and restrictions.
- Enhanced the chat message handling to support the new tool, ensuring proper integration and user experience.
- Implemented UI components for displaying and interacting with the planning lists, including progress tracking and status indicators.
2025-12-26 14:37:23 +05:30
Anish Sarkar
d9df63f57e refactor: enhance web crawling functionality with Firecrawl integration
- Updated WebCrawlerConnector to prioritize Firecrawl API for crawling if an API key is provided, falling back to Chromium if Firecrawl fails.
- Improved error handling to log failures from both Firecrawl and Chromium.
- Enhanced link preview tool to use a random User-Agent for better compatibility with web servers.
- Passed Firecrawl API key to the stream_new_chat function for improved configuration management.
2025-12-26 02:37:20 +05:30
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
DESKTOP-RTLN3BA\$punk
b4b7059035 Revert "Merge pull request #622 from CREDO23/documents-mentions"
This reverts commit fb719faa0d, reversing
changes made to efd20ea208.
2025-12-24 18:00:03 -08:00
CREDO23
ef9e9b65df fix: mentioned documents xml structure 2025-12-24 23:35:20 +02:00
CREDO23
3660b91e63 refact: follow the structure of document returned from retriever 2025-12-24 20:12:40 +02:00
CREDO23
deec8c5c6c fix: formatting 2025-12-24 07:06:35 +02:00
Anish Sarkar
6f330e7b8d Merge remote-tracking branch 'upstream/dev' into pr-611 2025-12-23 15:45:28 +05:30
DESKTOP-RTLN3BA\$punk
4a0c3e368a feat: migrated to surfsense deep agent 2025-12-23 01:16:25 -08:00
Anish Sarkar
ceb01dc544 feat: enhance new chat functionality with document mentions support
- Updated the new chat routes to include handling for mentioned document IDs, allowing users to reference specific documents in their chat.
- Modified the NewChatRequest schema to accommodate optional document IDs.
- Implemented document mention formatting in the chat streaming service for improved context.
- Enhanced the frontend to manage document mentions, including a new atom for state management and UI updates for document selection.
- Refactored the DocumentsDataTable component for better integration with the new mention functionality.
2025-12-23 14:24:36 +05:30
DESKTOP-RTLN3BA\$punk
b14283e300 feat: refactor new chat agent to support configurable tools and remove deprecated components
- Enhanced the new chat agent module to allow for configurable tools, enabling users to customize their experience with various functionalities.
- Removed outdated tools including display image, knowledge base search, link preview, podcast generation, and web scraping, streamlining the codebase.
- Updated the system prompt and agent factory to reflect these changes, ensuring a more cohesive and efficient architecture.
2025-12-22 20:17:08 -08:00
Anish Sarkar
7ca490c740 feat: enhance chain-of-thought display with smart expand/collapse behavior and state management for improved user interaction 2025-12-23 02:21:41 +05:30