Commit graph

2854 commits

Author SHA1 Message Date
CREDO23
31a14190e3 fix: update upload conftest mock to span-aware chunker 2026-06-19 19:36:26 +02:00
CREDO23
1cb7633920 Merge upstream/main into fix/chat-citations 2026-06-19 18:25:37 +02:00
CREDO23
73dd4e8e3a feat: embed line-citation tokens in search hits 2026-06-19 17:37:41 +02:00
CREDO23
188ae053ac feat: serve numbered source_markdown reads with citation preamble 2026-06-19 17:37:41 +02:00
CREDO23
fc17b9becd docs: rename evidence.chunk_ids to citations in desktop kb prompt 2026-06-19 17:32:45 +02:00
CREDO23
30ca0e1ef5 docs: readonly kb specialist cites line or chunk form 2026-06-19 17:32:45 +02:00
CREDO23
3c63a7bcd3 docs: kb specialist cites numbered or legacy chunk form 2026-06-19 17:32:45 +02:00
CREDO23
141801f1cc docs: clarify web/kb/legacy citation channels 2026-06-19 17:32:45 +02:00
CREDO23
691685dd16 test: cover read preamble and matched line ranges 2026-06-19 15:43:21 +02:00
CREDO23
1741fdc9c8 feat: numbered-read preamble and matched line ranges 2026-06-19 15:43:21 +02:00
CREDO23
773f913f06 test: cover by-chunk span and line-range resolve 2026-06-19 15:31:44 +02:00
CREDO23
f67c6607d6 feat: by-chunk resolve derives cited line range 2026-06-19 15:31:44 +02:00
CREDO23
ea32b62f82 feat: add cited line range to by-chunk response 2026-06-19 15:31:44 +02:00
CREDO23
435b84215e feat: expose chunk char spans on ChunkRead 2026-06-19 15:31:44 +02:00
CREDO23
7d7cb12a43 test: cover matched-passage hit rendering 2026-06-19 14:53:49 +02:00
CREDO23
7967b62b42 feat: search tool renders matched passage with lines 2026-06-19 14:53:49 +02:00
CREDO23
a2a92c592f test: assert hybrid search returns chunk spans 2026-06-19 14:53:49 +02:00
CREDO23
c376fbaf61 test: seed chunk spans in retriever fixture 2026-06-19 14:53:49 +02:00
CREDO23
04b679e2bf feat: return chunk char spans from hybrid search 2026-06-19 14:53:49 +02:00
CREDO23
90502d21d3 test: cover char-span line-range helper 2026-06-19 14:53:49 +02:00
CREDO23
0f32b35d3e feat: add char-span to line-range helper 2026-06-19 14:53:49 +02:00
CREDO23
5a315eafd3 test: verify note write chunk spans 2026-06-18 20:17:45 +02:00
CREDO23
5ed62e712b test: stub build_chunk_embeddings in parity tests 2026-06-18 20:17:45 +02:00
CREDO23
f2fe2e576e feat: note writes chunk via shared span builder 2026-06-18 20:17:45 +02:00
Anish Sarkar
6e970be220 feat: enable streaming in LLM bundle construction
- Updated the LLM bundle construction to include a streaming option for both DB-backed and global models.
- Modified the `litellm_kwargs` to set the streaming parameter to True, enhancing the functionality for chat streaming flows.
2026-06-18 23:39:55 +05:30
CREDO23
a0046483a9 test: assert chunker routing via use_code_chunker flag 2026-06-18 20:06:33 +02:00
CREDO23
03012c3077 test: span-aware paragraph chunker fixture 2026-06-18 20:06:33 +02:00
CREDO23
a7cf9bd946 test: mock span chunker in reindex test 2026-06-18 20:06:33 +02:00
CREDO23
12e948cad1 test: mock span chunker in integration fixtures 2026-06-18 20:06:33 +02:00
CREDO23
60fff66ee0 test: verify chunk span persistence on index 2026-06-18 20:06:33 +02:00
CREDO23
94229213f4 test: cover span chunker invariants 2026-06-18 20:06:33 +02:00
CREDO23
65b7d1b01a chore: bump embedding cache chunker version to 2 2026-06-18 20:06:26 +02:00
CREDO23
c57ee978e6 feat: persist and refresh chunk char spans on index 2026-06-18 20:06:26 +02:00
CREDO23
1e33c28c24 feat: carry char spans on existing chunks 2026-06-18 20:06:26 +02:00
CREDO23
55491fef9d refactor: make embedding cache span-aware 2026-06-18 20:06:26 +02:00
CREDO23
0ab773cbcd feat: add lossless span-aware chunk_markdown_with_spans 2026-06-18 20:06:26 +02:00
CREDO23
1048490ba8 feat: migrate chunks with start_char/end_char columns 2026-06-18 20:06:26 +02:00
CREDO23
b89f242a89 feat: add start_char/end_char span columns to chunk model 2026-06-18 20:06:26 +02:00
Anish Sarkar
9005e992c0 feat: add unit tests for LLM bundle streaming functionality
- Introduced a new test file to validate the LLM bundle construction for streaming flows in chat.
- Implemented tests to ensure that both DB-backed and global models enable streaming correctly.
- Utilized mocking to isolate dependencies and verify the expected behavior of the LLM constructor.
2026-06-18 23:32:36 +05:30
CREDO23
b446897638 test: editor read paths never reconstruct body from chunks 2026-06-18 19:23:49 +02:00
CREDO23
b0a0eb7f9c fix: editor routes serve source_markdown only, never rebuild from chunks 2026-06-18 19:23:49 +02:00
DESKTOP-RTLN3BA\$punk
1d101f5bec feat: add position column to chunks for explicit document order
- Introduced a new `position` column in the `chunks` table to maintain explicit document order during re-indexing.
- Updated migration to add the column without backfilling historical rows to avoid performance issues on large tables.
- Adjusted the `Chunk` model to reflect the new column without indexing, as ordering reads are document-scoped.
2026-06-18 08:55:47 -07:00
DESKTOP-RTLN3BA\$punk
c9afeb2817 feat: fix onboarding trigger
- Introduced a new endpoint to check the existence of a global LLM configuration file.
- Updated the frontend to utilize this status, affecting onboarding flow and user experience.
- Added necessary atoms and types for managing global LLM config status in the application state.
- Refactored navigation to ensure proper routing based on the global config status.
2026-06-17 23:30:56 -07:00
DESKTOP-RTLN3BA\$punk
55f91a29d5 chore: linting 2026-06-17 22:31:36 -07:00
DESKTOP-RTLN3BA\$punk
c6d42fc7c8 feat: bumped version to 0.0.29 2026-06-17 22:29:50 -07:00
DESKTOP-RTLN3BA\$punk
b89866541e chore: linting 2026-06-17 20:50:07 -07:00
DESKTOP-RTLN3BA\$punk
4b8a2f9726 Merge commit '77688ac80c' into dev 2026-06-17 20:47:02 -07:00
CREDO23
2db1615195 test long filename document processing notifications 2026-06-17 15:06:05 +02:00
CREDO23
79f9bd182b test truncated document processing titles 2026-06-17 15:06:05 +02:00
CREDO23
e195fb77c5 test format_title helper 2026-06-17 15:06:05 +02:00