Commit graph

1291 commits

Author SHA1 Message Date
Rohan Verma
74bf3df880
Merge pull request #1130 from CREDO23/feat/vision-autocomplete
[Feat] Vision-based autocomplete with KB grounding
2026-04-05 13:24:55 -07:00
CREDO23
a180bf5576 fix merge conflicts 2026-04-04 09:39:20 +02:00
CREDO23
d7315e7f27 Merge upstream/dev into feat/vision-autocomplete 2026-04-04 09:15:13 +02:00
CREDO23
18103417bb fix: harden autocomplete endpoint security and error handling 2026-04-04 08:57:09 +02:00
CREDO23
46e8134b23 catch non-vision model errors with actionable user message 2026-04-04 08:40:55 +02:00
Anish Sarkar
82d4d3e272 chore: ran linting 2026-04-04 03:37:33 +05:30
Anish Sarkar
e814540727 refactor: move PKCE pair generatio for airtable
- Removed the `generate_pkce_pair` function from `airtable_add_connector_route.py` and relocated it to `oauth_security.py` for better organization.
- Updated imports in `airtable_add_connector_route.py` to reflect the new location of the PKCE generation function.
2026-04-04 03:36:54 +05:30
Anish Sarkar
8e6b1c77ea feat: implement PKCE support in native Google OAuth flows
- Added `generate_code_verifier` function to create a PKCE code verifier for enhanced security.
- Updated Google Calendar, Drive, and Gmail connector routes to utilize the PKCE code verifier during OAuth authorization.
- Modified state management to include the code verifier for secure state generation and validation.
2026-04-04 03:35:34 +05:30
Anish Sarkar
a2b3541046 chore: ran linting 2026-04-04 03:11:56 +05:30
Anish Sarkar
0d2acc665d Merge remote-tracking branch 'upstream/dev' into feat/page-limit-connectors 2026-04-04 03:08:27 +05:30
Anish Sarkar
ce40da80ea feat: implement page limit estimation and enforcement in file based connector indexers
- Added a static method `estimate_pages_from_metadata` to `PageLimitService` for estimating page counts based on file metadata.
- Integrated page limit checks in Google Drive, Dropbox, and OneDrive indexers to prevent exceeding user quotas during file indexing.
- Updated relevant indexing methods to utilize the new page estimation logic and enforce limits accordingly.
- Enhanced tests for page limit functionality, ensuring accurate estimation and enforcement across different file types.
2026-04-04 02:51:28 +05:30
CREDO23
960b8fc012 add app context and KB grounding to autocomplete suggestions 2026-04-03 21:34:01 +02:00
CREDO23
aeb3f13f91 replace text-based autocomplete with vision-based endpoint 2026-04-03 18:17:50 +02:00
CREDO23
482238e5d4 add vision LLM role for screenshot analysis 2026-04-03 17:40:27 +02:00
Anish Sarkar
9c0af6569d feat: implement page limit checks in local folder indexing to manage user page usage 2026-04-03 19:13:25 +05:30
Anish Sarkar
b759bb36a9 feat: add direct conversion support for CSV, TSV, and HTML files in local folder indexing 2026-04-03 17:36:48 +05:30
Anish Sarkar
746c730b2e chore: ran linting 2026-04-03 13:14:40 +05:30
Anish Sarkar
62b44889d1 Merge remote-tracking branch 'upstream/dev' into feat/local-folder-sync 2026-04-03 11:42:43 +05:30
Anish Sarkar
525fae5abf feat: trigger document reindexing after restoring a document version to ensure content is up-to-date 2026-04-03 11:19:54 +05:30
Anish Sarkar
4ca0787ab7 feat: add version history functionality to document management, enabling users to view and manage document versions through UI updates and backend integration 2026-04-03 10:42:21 +05:30
Anish Sarkar
1fa8e1cc83 feat: refactor folder indexing to support batch processing of multiple files, enhancing performance and error handling 2026-04-03 10:02:36 +05:30
Anish Sarkar
e2ba509314 feat: enhance error handling in local folder indexing by adding rollback and refresh on IntegrityError 2026-04-03 09:29:59 +05:30
DESKTOP-RTLN3BA\$punk
62e698d8aa refactor: streamline document upload limits and enhance handling of mentioned documents
- Updated maximum file size limit to 500 MB per file.
- Removed restrictions on the number of files per upload and total upload size.
- Enhanced handling of user-mentioning documents in the knowledge base search middleware.
- Improved document reading and processing logic to accommodate new features and optimizations.
2026-04-02 19:39:10 -07:00
Anish Sarkar
fe7fcaae5d feat: update folder deletion process to queue document deletions first and handle folder cleanup in Celery task 2026-04-03 04:16:19 +05:30
Anish Sarkar
44e39792da feat: assign folder_id to documents before indexing to ensure correct folder visibility during processing 2026-04-03 04:14:28 +05:30
Anish Sarkar
bd21c2842d feat: enhance document upload and folder synchronization UI with improved processing state indicators and responsive design adjustments 2026-04-03 04:14:09 +05:30
Anish Sarkar
f0a7c7134a feat: move endpoint above to retrieve watched folders based on search space ID 2026-04-03 00:09:17 +05:30
CREDO23
3e68d4aa3e refactor: extract autocomplete service and fix tooltip screen-edge positioning 2026-04-02 20:38:09 +02:00
Anish Sarkar
25358fddcf feat: implement local folder synchronization and versioning with new metadata handling and document_versions table 2026-04-02 23:46:21 +05:30
Anish Sarkar
53df393cf7 refactor: streamline local folder indexing logic by removing unused imports, enhancing content hashing, and improving document creation process 2026-04-02 23:28:23 +05:30
Anish Sarkar
c27d24a117 feat: enhance folder indexing by adding root folder ID support and implement folder creation and cleanup logic 2026-04-02 22:41:45 +05:30
Anish Sarkar
caf2525ab5 fix: update folder ID collection logic to include deleted directories and adjust test cases for document titles 2026-04-02 22:29:07 +05:30
Anish Sarkar
22ee5c99cc refactor: remove Local Folder connector and related tasks, implement new folder indexing endpoints 2026-04-02 22:21:31 +05:30
CREDO23
fbd033d0a4 feat: add autocomplete streaming endpoint with KB context 2026-04-02 13:19:21 +02:00
Anish Sarkar
8e58094a86 refactor: update permission checks in document and connector routes to use specific permission values 2026-04-02 12:13:14 +05:30
Anish Sarkar
96a58d0d30 feat: implement local folder indexing and document versioning capabilities 2026-04-02 11:11:57 +05:30
Anish Sarkar
3b92e99d28 feat: add local folder connector and document versioning functionality 2026-04-02 10:35:32 +05:30
Anish Sarkar
000c2d9b5b style: simplify LLM model terminology in UI 2026-04-02 10:11:35 +05:30
Anish Sarkar
d7dd6db1b9 fix: improve document loading error handling and UI feedback for processing state 2026-04-01 20:31:45 +05:30
DESKTOP-RTLN3BA\$punk
ad0e77c3d6 feat: enhance knowledge base search with date filtering 2026-03-31 20:13:46 -07:00
DESKTOP-RTLN3BA\$punk
a9fd45844d feat: integrate Stripe for page purchases and reconciliation tasks 2026-03-31 18:39:45 -07:00
DESKTOP-RTLN3BA\$punk
17642493eb chore: linting 2026-03-31 14:45:46 -07:00
CREDO23
1aeb5ba645 Merge remote-tracking branch 'upstream/dev' into feature/prompt-library 2026-03-31 22:41:53 +02:00
CREDO23
440762fb07 Merge upstream/dev 2026-03-31 20:21:12 +02:00
CREDO23
8f7dce3bbd Fix PromptMode enum to match PostgreSQL type 2026-03-31 20:12:04 +02:00
CREDO23
aecb58e22b Fix review issues: authz, race conditions, UX safety, and consolidate migrations 2026-03-31 19:09:05 +02:00
CREDO23
5f4f7780d1 Fix create_prompt is_public bug, conditional version bump, and add Jotai prompts atoms
- Pass is_public from request body in create_prompt route
- Only bump version on content field changes (name, prompt, mode),
  not on is_public toggle
- Add prompts query and mutation atoms (atomWithQuery/atomWithMutation)
  with TanStack Query caching, replacing manual useEffect fetches
- Update PromptPicker, PromptsContent, and CommunityPromptsContent
  to consume shared atoms instead of local state
2026-03-31 18:34:10 +02:00
CREDO23
11387268a7 Seed default prompts on registration and for existing users 2026-03-31 18:12:09 +02:00
CREDO23
0c975a6f80 Simplify prompts to seed-based CRUD with version tracking 2026-03-31 18:05:42 +02:00
CREDO23
80d096db32 Add system prompt merge logic, upsert override, and reset endpoints 2026-03-31 16:47:51 +02:00