Commit graph

962 commits

Author SHA1 Message Date
CREDO23
7d1bd1fab4 Implement KB sync after Notion page updates with block ID verification
- Add NotionKBSyncService for immediate KB updates after page changes
- Implement block ID verification to ensure content freshness
- Refactor duplicate block processing logic to shared utils
- Add user-friendly status messages
- Include debug logging for troubleshooting
2026-02-17 20:30:12 +02:00
CREDO23
2f65536c6d use document_id instead of page_id for kb sync lookup 2026-02-17 18:25:56 +02:00
CREDO23
bd3bd701a7 fix jsonb query syntax for page_id lookup 2026-02-17 18:02:00 +02:00
CREDO23
f5195b4c2f fix import path for generate_content_hash 2026-02-17 17:50:47 +02:00
CREDO23
e92aa68523 fix circular import in kb sync service 2026-02-17 17:48:24 +02:00
CREDO23
b240bc3e1a add kb sync for notion updates 2026-02-17 17:37:47 +02:00
DESKTOP-RTLN3BA\$punk
7bd3a4e08f chore: linting 2026-02-16 23:30:35 -08:00
DESKTOP-RTLN3BA\$punk
786b65d68f feat: update default rate limits in SlowAPI limiter
- Increased the default rate limits from 180/minute to 1024/minute for enhanced API performance and protection against abuse.
2026-02-16 23:28:20 -08:00
DESKTOP-RTLN3BA\$punk
b23868c6db Merge branch 'dev' of https://github.com/MODSetter/SurfSense into dev 2026-02-16 23:18:39 -08:00
DESKTOP-RTLN3BA\$punk
338dd8d282 feat: add health check endpoint and improve rate limiting
- Introduced a health check endpoint to monitor API responsiveness.
- Updated SlowAPI limiter to increase default rate limits and added in-memory fallback for Redis unavailability.
- Implemented a timeout for seeding Surfsense documentation to prevent startup delays.
2026-02-16 23:18:29 -08:00
Manoj Aggarwal
22bf9ea718 Fix Obsidian connector 2026-02-16 21:07:08 -08:00
DESKTOP-RTLN3BA\$punk
9390f195cc refactor: fix decision handling and error message extraction in Notion tools
- Improved decision extraction logic in create, delete, and update Notion page tools to ensure proper handling of approval decisions.
- Added a static method to NotionHistoryConnector for consistent error message extraction from API responses, enhancing readability and maintainability.
2026-02-16 02:14:26 -08:00
DESKTOP-RTLN3BA\$punk
1849b451a5 feat: update Celery worker configuration and improve connector deletion process
- Added support for multiple queues in Celery worker configuration.
- Modified connector deletion to handle documents inline instead of using a background task.
- Updated response messages for document creation and connector deletion to reflect new processing status.
- Removed the obsolete connector deletion Celery task file.
2026-02-16 00:07:23 -08:00
DESKTOP-RTLN3BA\$punk
81c70befcf chore: linting 2026-02-15 23:38:15 -08:00
DESKTOP-RTLN3BA\$punk
b9159a8329 feat: fixed bugs 2026-02-15 23:36:20 -08:00
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
Anish Sarkar
ed28439246 Merge remote-tracking branch 'upstream/dev' into feat/report-artifact 2026-02-14 19:12:01 +05:30
Anish Sarkar
2755c0d7c0 chore: update uv.lock and ran linting 2026-02-14 19:09:45 +05:30
Anish Sarkar
3ec30d94ce refactor: optimize report generation tool to use short-lived database sessions for improved performance and connection management 2026-02-14 18:48:36 +05:30
Anish Sarkar
8746051670 feat: enhance system prompts to specify LaTeX notation for mathematical expressions 2026-02-14 14:28:47 +05:30
CREDO23
66a6fb685e Merge upstream/dev into feature/human-in-the-loop 2026-02-13 20:17:59 +02:00
CREDO23
d8d62ab2c5 Disable Notion tools when connector not configured 2026-02-13 19:52:48 +02:00
CREDO23
743b40ece6 fix: add user_id filter to create_notion_page connector lookup 2026-02-13 19:15:17 +02:00
CREDO23
97d5b046d4 Fix delete notion page tool implementation 2026-02-13 18:50:14 +02:00
CREDO23
cc36780c67 Add delete_from_db parameter and DB deletion logic to delete_notion_page 2026-02-13 16:08:06 +02:00
CREDO23
45de7d546c Refactor delete_notion_page: use page_title, add HITL, logging, not_found status 2026-02-13 15:52:50 +02:00
Anish Sarkar
138c6d8cd6 feat: update report generation tool with new user prompts 2026-02-13 19:02:46 +05:30
CREDO23
da451ffff7 Handle page not found as informational status instead of error 2026-02-13 13:22:52 +02:00
CREDO23
9411edf057 Refactor update_notion_page to append-only with simplified parameters 2026-02-13 13:07:19 +02:00
DESKTOP-RTLN3BA\$punk
a8c1aa28c0 feat: remove pandoc and its respective engine dependencies 2026-02-13 01:34:43 -08:00
CREDO23
0d1b61d7e6 Implement update notion page tool 2026-02-13 10:45:51 +02:00
DESKTOP-RTLN3BA\$punk
3a7a27f3ae feat: enhance report generation instructions with comprehensive trigger phrases and formatting rules for Markdown output 2026-02-12 17:18:50 -08:00
Anish Sarkar
a2dd5fb671 chore: ran linting 2026-02-13 02:43:26 +05:30
CREDO23
d33c0dd32f fix: use cast() instead of astext for JSONB query 2026-02-12 19:32:36 +02:00
CREDO23
f15e6aeb5e Add HIL to update notion page tool 2026-02-12 18:42:11 +02:00
CREDO23
f7411b9737 Add user_id filter to prevent cross-user document access 2026-02-12 18:14:26 +02:00
CREDO23
67473bbb78 Add validation for title and connector in notion page creation 2026-02-12 17:51:11 +02:00
CREDO23
9023f2656b Improve notion page creation approval UI 2026-02-12 17:35:27 +02:00
CREDO23
c47171e218 fix edited action args extraction for notion page creation 2026-02-12 16:38:08 +02:00
CREDO23
08154b321d remove page counts and fix workspace icon display 2026-02-12 16:29:18 +02:00
Anish Sarkar
f96e7e11c6 docs: enhance report generation instructions with detailed formatting guidelines for code examples and Mermaid diagrams 2026-02-12 19:29:48 +05:30
CREDO23
d4aa61a12a add interrupt payload normalization for interrupt() primitive 2026-02-12 15:44:03 +02:00
CREDO23
066fb6dbfb use interrupt primitive with db context for notion page creation 2026-02-12 15:29:41 +02:00
CREDO23
c9b0e55ce9 add notion tool metadata service 2026-02-12 15:21:18 +02:00
Anish Sarkar
d627409af0 docs: update system prompt and report tool instructions for clarity on report generation and modification requests 2026-02-12 18:22:47 +05:30
Anish Sarkar
3336626336 chore: update Dockerfiles to install Typst for PDF rendering and remove WeasyPrint dependencies 2026-02-12 15:57:35 +05:30
Anish Sarkar
a668219240 refactor: update report routes and improve export handling
- Revised report routes to clarify functionality for read, export, and delete operations.
- Enhanced the export process to run all blocking I/O in a thread executor, improving async performance.
- Updated error handling in the report panel to provide clearer feedback on loading failures.
2026-02-12 03:41:29 +05:30
Anish Sarkar
adeef35443 feat: add report versioning support with report_group_id 2026-02-12 03:19:38 +05:30
CREDO23
78127243e2 merge upstream/dev: add user_id to configs, provider icons, i18n 2026-02-11 20:05:00 +02:00