shamoon
f6c865bf47
Enhancement: AI LLM chunk size and context window config ( #12891 )
2026-06-01 17:56:21 +00:00
Trenton H
bb860a5834
Fix: Improvements for security around the AI ( #12895 )
...
* Fix: Validate and limit chat question input in ChatStreamingView
Add max_length=4000 to ChatStreamingSerializer.q and replace the bare
request.data["q"] read with proper serializer.is_valid(raise_exception=True)
so oversized or missing questions are rejected with HTTP 400 before
reaching the LLM.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
* Fix: Add defensive prompt framing to mark document content as untrusted
* Also adds a system prompt which is treated higher that this is untrusted stuff
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-01 10:03:27 -07:00
Trenton H
889ccfd67a
Fix: Fold query and autocomplete terms with Tantivy's ascii_fold so special letters match ( #12868 )
2026-05-29 16:42:07 -07:00
Trenton H
bbceb5dac6
Fix: Don't store autocomplete_word, only index it ( #12867 )
2026-05-29 14:09:04 -07:00
Trenton H
98a7ed32e3
Fix: Preserve Whoosh date range swapping in Tantviy ( #12866 )
2026-05-29 20:21:59 +00:00
Trenton H
25a7b2038a
Fix: Always release search index writer, even on failure, so the write lock doesn't persist for later ( #12865 )
2026-05-29 19:38:58 +00:00
Trenton H
97e3c75720
Fix: Handle CJK title, content and metadata searching ( #12862 )
2026-05-29 19:11:55 +00:00
Trenton H
11c62757ef
Fix: Restrict date query rewrites to date or datetime fields only ( #12864 )
2026-05-29 11:59:30 -07:00
Trenton H
4a8d79be6f
Fix: Missing call to tanvity wait_merging_threads ( #12863 )
2026-05-29 10:32:15 -07:00
Trenton H
525b986e23
Fix: Handle tanvity index lock contention ( #12856 )
...
Implements and tests a retry with backoff + jitter for aquring the index update lock. If we still can't get it, dispatch a celery task to handle it later instead (also with retry)
Signed-off-by: stumpylog <797416+stumpylog@users.noreply.github.com >
2026-05-27 09:47:13 -07:00
shamoon
4ce5f2022c
Fix (beta): better catch chat errors ( #12854 )
2026-05-26 19:05:47 +00:00
shamoon
ab47185712
Performance (beta): dont re-build vector index with each chat ( #12847 )
2026-05-26 11:36:05 -07:00
shamoon
01d8fad622
Security: fixes for v3 beta ( #12838 )
2026-05-26 16:46:23 +00:00
shamoon
da3e845b8b
Fix (beta): normalize long punctuation chunks to improve embedding ( #12848 )
2026-05-26 09:32:38 -07:00
shamoon
0a6e0db186
Fix: use chord.on_error before apply_async ( #12842 )
2026-05-24 14:42:11 -07:00
shamoon
15682231b2
Chore: fix sonarcube logger warnings
2026-05-20 08:54:00 -07:00
Trenton H
df861189fa
Fix: Don't use smaller integer fields for some workflow fields ( #12834 )
2026-05-20 14:39:01 +00:00
Trenton H
bd86dca57e
Fix: Password removal source file location ( #12830 )
...
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com >
2026-05-19 13:52:04 -07:00
Trenton H
9f45737b94
Upgrades this dep so it handles newer models, like gpt-5-5 which require a locked 1.0 temperature value ( #12824 )
2026-05-18 12:30:03 -07:00
shamoon
83d59ad3bf
Fix (beta): use correct html button type for custom field buttons ( #12819 )
2026-05-17 19:15:03 -07:00
Trenton H
ff3360310b
Fix: Defer password removal workflow action until the file is in place ( #12814 )
2026-05-16 17:14:37 -07:00
Trenton H
9a68dcdddf
Fix: Allow setting allauth rate limit configuration settings ( #12798 )
2026-05-14 07:29:49 -07:00
Trenton H
9a78882b5a
Fix: Don't embed the metadata which is already embedded into the context ( #12795 )
2026-05-13 09:01:34 -07:00
Trenton H
7e381f204e
Fix: Sanitize dash or plus from the text search path ( #12789 )
2026-05-12 12:41:38 -07:00
shamoon
5f42854d99
Fix: two more css tweaks to tasks page
2026-05-11 13:50:02 -07:00
shamoon
bc1d2fbccb
Fix: improve new tasks ui layout across screen sizes ( #12784 )
2026-05-11 13:46:17 -07:00
shamoon
7471fedb43
Fix: Update parser contract to require empty strings, not None ( #12775 )
...
Co-authored-by: stumpylog <797416+stumpylog@users.noreply.github.com >
2026-05-11 09:16:21 -07:00
Trenton H
1527c347e3
Chore: Further dependency minor security updates ( #12780 )
2026-05-11 08:59:19 -07:00
Trenton H
da0f25b546
Fix: Use a persistent, writeable location for hugging face models ( #12771 )
2026-05-09 18:23:11 -07:00
shamoon
79d0a04df0
Enhancement: support ollama embeddings ( #12753 )
2026-05-09 00:06:14 +00:00
Moritz Stückler
177d81c8d4
Fix: create LLM_INDEX_DIR before writing meta.json on first run ( #12759 )
...
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-08 23:38:41 +00:00
Trenton H
5202dc0748
Fix: Clear ContentType/guardian caches at import and test cases ( #12758 )
2026-05-08 20:48:47 +00:00
Trenton H
b1e44f5d6b
Tweakhancment: Include the last applied 'documents' migration in the log ( #12757 )
2026-05-08 20:37:10 +00:00
shamoon
57b91ad2cf
Fix: use response synthesizer for RAG doc chat ( #12751 )
2026-05-08 20:01:44 +00:00
shamoon
8769dc894e
Fix: only update modified field in notes actions ( #12750 )
2026-05-08 15:36:07 +00:00
shamoon
978e54ab52
Fixhancement: version-aware thumbnail etag ( #12754 )
2026-05-08 08:26:37 -07:00
shamoon
268ded92bc
Documentation: Update v3 migration docs ( #12752 )
2026-05-08 08:19:15 -07:00
Trenton H
9a1e2aea50
Fix: Handle dash or plus operators in search queries ( #12734 )
2026-05-07 17:26:11 +00:00
Trenton H
2354f87a40
Fixes trash preview when a document has deleted versions ( #12742 )
2026-05-07 17:07:35 +00:00
shamoon
3097f06189
Fix: exclude versions from stats count ( #12738 )
2026-05-07 16:34:26 +00:00
Trenton H
f985f7db51
Fix: Celery chords by using Redis as our result backend ( #12741 )
2026-05-07 09:20:04 -07:00
shamoon
af0df43bac
Fix: bump version.py to 3.0.0 also ( #12736 )
2026-05-07 07:39:57 -07:00
Trenton H
8b6e8142f1
Upgrades Django to the latest, cryptography, django-allauth for the release ( #12731 )
2026-05-06 15:07:13 -07:00
Trenton H
4f8eae17e1
Fix: Makes the font cache folder writeable to all users, like ourselves ( #12726 )
2026-05-06 12:24:30 -07:00
Trenton H
2296d7fa0e
Fix: Rewrite Whoosh year only queries to be to Tantivy date syntax ( #12725 )
2026-05-06 09:26:46 -07:00
shamoon
cc918bae5f
Fix: pass allow parallel tool calls in LLM client ( #12718 )
2026-05-05 16:57:47 -07:00
Trenton H
e2ad14f9ca
Fix: workflow password removal didn't handle lists from the DB ( #12716 )
2026-05-05 12:52:34 -07:00
Trenton H
76b2b6ad36
Bumps all our versions to 3.0.0 ( #12715 )
2026-05-05 12:40:24 -07:00
stumpylog
749079963e
Dynamically update commitish so it should pick things for the changelog from beta
v3.0.0-beta.rc1
2026-05-05 09:03:22 -07:00
stumpylog
6b86f6f723
Corrects the Docker image build check name
2026-05-05 09:00:02 -07:00