Commit graph

3549 commits

Author SHA1 Message Date
DESKTOP-RTLN3BA\$punk
f4b2ab0899 feat: enhance caching mechanisms to prevent memory leaks
- Improved in-memory rate limiting by evicting timestamps outside the current window and cleaning up empty keys.
- Updated LLM router service to cache context profiles and avoid redundant computations.
- Introduced cache eviction logic for MCP tools and sandbox instances to manage memory usage effectively.
- Added garbage collection triggers in chat streaming functions to reclaim resources promptly.
2026-02-27 17:56:00 -08:00
Rohan Verma
4105bd0d7a
Merge pull request #846 from MODSetter/dev
feat: perf optimizations
2026-02-27 17:24:20 -08:00
DESKTOP-RTLN3BA\$punk
08829c110c Merge commit '11a38a28a5' into dev 2026-02-27 17:21:52 -08:00
DESKTOP-RTLN3BA\$punk
0e723a5b8b feat: perf optimizations
- improved search_knowledgebase_tool
- Added new endpoint to batch-fetch comments for multiple messages, reducing the number of API calls.
- Introduced CommentBatchRequest and CommentBatchResponse schemas for handling batch requests and responses.
- Updated chat_comments_service to validate message existence and permissions before fetching comments.
- Enhanced frontend with useBatchCommentsPreload hook to optimize comment loading for assistant messages.
2026-02-27 17:19:25 -08:00
Rohan Verma
11a38a28a5
Merge pull request #845 from MODSetter/dev
feat: added perf logs and removed managed google connectors
2026-02-27 16:34:40 -08:00
DESKTOP-RTLN3BA\$punk
a43956bdce Merge commit 'f1f100bb52' into dev 2026-02-27 16:33:06 -08:00
DESKTOP-RTLN3BA\$punk
664c43ca13 feat: add performance logging middleware and enhance performance tracking across services
- Introduced RequestPerfMiddleware to log request performance metrics, including slow request thresholds.
- Updated various services and retrievers to utilize the new performance logging utility for better tracking of execution times.
- Enhanced existing methods with detailed performance logs for operations such as embedding, searching, and indexing.
- Removed deprecated logging setup in stream_new_chat and replaced it with the new performance logger.
2026-02-27 16:32:30 -08:00
Rohan Verma
f1f100bb52
Merge pull request #844 from MODSetter/dev
chore: removed announcements from navbar and rewrote tagline
2026-02-27 15:47:07 -08:00
DESKTOP-RTLN3BA\$punk
68bb196d45 Merge commit 'd6ae201403' into dev 2026-02-27 15:46:25 -08:00
DESKTOP-RTLN3BA\$punk
fa51ec42c6 chore: removed announcements from navbar and rewrote tagline 2026-02-27 15:45:48 -08:00
Rohan Verma
d6ae201403
Merge pull request #843 from MODSetter/dev
feat: update pricing
2026-02-27 15:37:39 -08:00
DESKTOP-RTLN3BA\$punk
37a0bd4533 feat: update contact information and meeting links across components
- Changed meeting link from Calendly to Cal.com for scheduling.
- Updated email contact from eric@surfsense.com to rohan@surfsense.com in multiple components.
- Revised text in the contact form to reflect the new scheduling options.
2026-02-27 15:31:31 -08:00
Anish Sarkar
b2bf00e11a chore: ran linting 2026-02-28 02:28:03 +05:30
Anish Sarkar
ce82807f16 test: enhance reindexing tests for UploadDocumentAdapter 2026-02-28 02:18:02 +05:30
Anish Sarkar
37f76a8533 test: add should_summarize parameter to file upload adapter tests 2026-02-28 01:44:41 +05:30
Anish Sarkar
23a98d802c refactor: implement UploadDocumentAdapter for file indexing and reindexing 2026-02-28 01:38:32 +05:30
Anish Sarkar
6e1ca96d57 feat: add migration completion tracking to installation script 2026-02-27 22:59:51 +05:30
Anish Sarkar
57a1c71582 chore: upgrade Redis to version 8-alpine and ElectricSQL to version 1.4.10 in Docker Compose configuration 2026-02-27 22:26:02 +05:30
Anish Sarkar
848ad55071 chore: update URL links for production 2026-02-27 22:21:44 +05:30
Anish Sarkar
6626a0221c chore: update Redis and ElectricSQL Docker images to latest versions 2026-02-27 21:49:42 +05:30
Anish Sarkar
494307b2b9 refactor: encapsulate installation script logic in a main function for improved structure and readability 2026-02-27 21:40:49 +05:30
Anish Sarkar
fbef820377 fix: redirect stdin to /dev/null in Docker commands to suppress unwanted input prompts 2026-02-27 21:22:15 +05:30
Anish Sarkar
9124b19ee9 chore: update Docker image references for testing 2026-02-27 20:46:16 +05:30
Rohan Verma
3ca401cb2c
Merge pull request #840 from MODSetter/dev
feat: Google Drive HITL tools, team management UI, Daytona sandboxes, indexing pipeline hardening & test infrastructure
2026-02-26 20:49:50 -08:00
DESKTOP-RTLN3BA\$punk
1e4b8d3e89 feat: enhance document formatting and context management for LLM tools
- Introduced dynamic character budget calculation for document formatting based on model's context window.
- Updated `format_documents_for_context` to respect character limits and improve output quality.
- Added `max_input_tokens` parameter to various functions to facilitate context-aware processing.
- Enhanced error handling for context overflow in LLM router service.
2026-02-26 20:47:19 -08:00
DESKTOP-RTLN3BA\$punk
a4dc84d1ab feat: add should_summarize parameter to task dispatchers
- Introduced should_summarize parameter in TaskDispatcher and CeleryTaskDispatcher to control summary generation.
- Updated InlineTaskDispatcher to support the new parameter for document processing.
2026-02-26 19:12:37 -08:00
DESKTOP-RTLN3BA\$punk
6f4bf11a32 Merge branch 'dev' of https://github.com/MODSetter/SurfSense into dev 2026-02-26 18:25:05 -08:00
DESKTOP-RTLN3BA\$punk
e9892c8fe9 feat: added configable summary calculation and various improvements
- Replaced direct embedding calls with a utility function across various components to streamline embedding logic.
- Added enable_summary flag to several models and routes to control summary generation behavior.
2026-02-26 18:24:57 -08:00
Anish Sarkar
f419efcde1 Merge remote-tracking branch 'upstream/dev' into fix/docker 2026-02-27 05:00:23 +05:30
Anish Sarkar
66d9cd570b fix: suppress benign output during database restoration in installation script 2026-02-27 04:59:12 +05:30
Anish Sarkar
d6cb41d130 docs: update installation instructions across multiple languages to clarify prerequisites and automatic Watchtower setup 2026-02-27 04:46:29 +05:30
Anish Sarkar
4e401fdb92 feat: enhance installation script to include automatic Watchtower setup with customizable interval 2026-02-27 04:41:08 +05:30
Anish Sarkar
48ee5e86aa chore: updated links to the main branch for production 2026-02-27 04:17:37 +05:30
Anish Sarkar
ccae5ffeb1 fix: add error handling for missing dump file in migration script and update logging for migration step 2026-02-27 04:06:01 +05:30
Anish Sarkar
3e29ae37fa chore: update SURFSENSE_VERSION in .env.example to 0.0.13.6 2026-02-27 03:54:13 +05:30
Anish Sarkar
47a2ba0e56 chore: update Docker image references to use the new repository for backend and frontend services 2026-02-27 03:45:10 +05:30
Anish Sarkar
233279b109 chore: update Docker installation script to use the new repository URL for SurfSense 2026-02-27 03:44:07 +05:30
Rohan Verma
2f08dc9cf4
Merge pull request #839 from AnishSarkar22/feat/document-test
fix: enhanced document upload, page limit, upload limit tests
2026-02-26 13:48:45 -08:00
Anish Sarkar
f03a746385 chore: update Docker installation script to point to the new repository for SurfSense 2026-02-27 02:44:25 +05:30
Anish Sarkar
2468cc2a4a feat: add SidebarSeparator component and integrate into documentation layout
- Introduced SidebarSeparator component for improved sidebar organization.
- Updated layout configuration to utilize the new SidebarSeparator in the documentation layout.
2026-02-27 02:38:52 +05:30
Anish Sarkar
394a37576c refactor: update layout configuration and enhance documentation layout 2026-02-27 02:36:18 +05:30
DESKTOP-RTLN3BA\$punk
dc33a4a68f Merge commit 'af3810b7c4' into dev 2026-02-26 13:05:02 -08:00
DESKTOP-RTLN3BA\$punk
23f553ef84 Merge branch 'dev' of https://github.com/MODSetter/SurfSense into dev 2026-02-26 13:01:24 -08:00
DESKTOP-RTLN3BA\$punk
aabc24f82c feat: enhance performance logging and caching in various components
- Introduced slow callback logging in FastAPI to identify blocking calls.
- Added performance logging for agent creation and tool loading processes.
- Implemented caching for MCP tools to reduce redundant server calls.
- Enhanced sandbox management with in-process caching for improved efficiency.
- Refactored several functions for better readability and performance tracking.
- Updated tests to ensure proper functionality of new features and optimizations.
2026-02-26 13:00:31 -08:00
Anish Sarkar
20ebb0703f chore: add icons to documentation metadata for improved visual representation 2026-02-27 02:15:21 +05:30
Anish Sarkar
78dcce3e06 refactor: update testing documentation for clarity and structure 2026-02-27 02:07:14 +05:30
Anish Sarkar
836d5293df refactor: remove unused TestStatusPolling class from document upload integration tests 2026-02-27 01:52:35 +05:30
Anish Sarkar
fd032f3709 refactor: simplify and clarify documentation in document upload integration tests 2026-02-27 01:48:25 +05:30
Anish Sarkar
7c09958ddc refactor: enhance document upload integration tests for API contract validation 2026-02-27 01:24:20 +05:30
Anish Sarkar
1068ea25a7 refactor: standardize test database configuration across test files 2026-02-27 00:45:51 +05:30