Commit graph

14 commits

Author SHA1 Message Date
Anish Sarkar
9a20db7fc4 feat: add created_by_id to document creation in various sync services 2026-03-21 11:41:59 +05:30
Anish Sarkar
8850fac722 feat: implement knowledge base synchronization for Linear and Notion issue creation
- Added `sync_after_create` methods in `LinearKBSyncService` and `NotionKBSyncService` to handle synchronization of newly created issues and pages with the knowledge base.
- Enhanced the `create_issue.py` and `create_page.py` tools to provide user feedback on the success of the knowledge base update, indicating whether the content has been synced or will be added in the next scheduled sync.
- Improved error handling during synchronization to log failures and manage duplicate document scenarios effectively.
2026-03-20 17:50:36 +05:30
DESKTOP-RTLN3BA\$punk
2b33dfe728 refactor: update safe_set_chunks function to be asynchronous and modify all connector and document processor files to use the new async implementation 2026-03-15 00:44:27 -07: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
DESKTOP-RTLN3BA\$punk
a3cd598e01 feat: added improved llm model selector 2026-02-20 14:28:01 -08:00
CREDO23
594379ea69 Disable streaming for KB sync summary LLM to prevent token leaking into chat; remove workspace_icon from update-notion-page 2026-02-18 15:10:51 +02:00
CREDO23
d28aed14b3 Guard KB sync on document_id; fix comment style 2026-02-18 12:31:28 +02:00
CREDO23
64a170efce Fix critical bugs in KB sync implementation
- Add rollback on exception to prevent dirty database state
- Fix block verification threshold from >=1 to >=80%
- Remove technical 'failed' language from user messages
- Add empty content validation with warning
2026-02-17 21:27:58 +02:00
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