Commit graph

6930 commits

Author SHA1 Message Date
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
049c70dc91 feat: open citations in source view at lines 2026-06-19 15:31:44 +02:00
CREDO23
c551b34d93 style: add cited line highlight class 2026-06-19 15:31:44 +02:00
CREDO23
b73a31f889 feat: source editor reveals and highlights lines 2026-06-19 15:31:44 +02:00
CREDO23
86f8fc0530 feat: citation panel shows cited line range 2026-06-19 15:31:44 +02:00
CREDO23
176ada4f4f feat: editor panel accepts citation line anchor 2026-06-19 15:31:44 +02:00
CREDO23
fc0f9d8f81 feat: carry chunk spans and cited lines in contract 2026-06-19 15:31:44 +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
Anish Sarkar
7b981b6d16 refactor: simplify error screen layout and remove unused components
- Removed the Alert component and its related imports to streamline the error display.
- Adjusted the layout of the error screen for better responsiveness and visual clarity.
- Updated button styles and structure for improved user interaction.
2026-06-19 14:47:09 +05:30
Anish Sarkar
6bab6df819 chore: update .env.example for runtime configuration 2026-06-19 12:04:52 +05:30
Anish Sarkar
b54eff648e feat: implement runtime authentication handling
- Added a new proxy function to manage runtime authentication types and set cookies accordingly.
- Introduced runtime authentication configuration to dynamically adjust UI based on the selected auth type.
- Updated global styles to hide specific authentication buttons based on the current auth type.
- Refactored sign-in button and hero section components to utilize the new runtime authentication logic.
- Created a new utility file for runtime authentication configuration and initialization script.
2026-06-19 03:56:26 +05:30
Anish Sarkar
a4bb0a5253
Merge pull request #1516 from AnishSarkar22/fix/model-ui-chat
refactor: enhance chat UI components for mobile responsiveness
2026-06-19 03:25:31 +05:30
Anish Sarkar
37559fcc6d refactor: enhance chat UI components for mobile responsiveness
- Updated the layout of the ComposerAction and ChatHeader components to improve mobile compatibility.
- Added a new prop to ImageModelSelector for mobile-specific rendering.
- Adjusted ModelSelector to conditionally render elements based on mobile view, enhancing user experience on smaller screens.
2026-06-19 01:41:21 +05:30
Rohan Verma
03e57bdf7e
Merge pull request #1515 from AnishSarkar22/hotfix/streaming
hotfix(chat): Chat answer streaming and smooth markdown rendering
2026-06-18 11:40:11 -07:00
Anish Sarkar
bb664a1f32 fix: enable smooth rendering in MarkdownText component
- Updated the MarkdownTextPrimitive component to enable smooth rendering by default.
- Adjusted the props to streamline the rendering process for improved user experience.
2026-06-18 23:56:58 +05:30
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
Rohan Verma
b233f15975
Merge pull request #1514 from MODSetter/dev
feat(hotpatch): remove backfill on old chunks positioning
2026-06-18 09:19:16 -07:00
DESKTOP-RTLN3BA\$punk
0c50161e92 Merge commit 'c941907448' into dev 2026-06-18 09:15:12 -07: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
Rohan Verma
c941907448
Merge pull request #1509 from MODSetter/dev
feat(release: 0.0.29): ETL/embedding caches, unified model connections, reverse-proxy support, podcast & indexing improvements
2026-06-17 23:46:24 -07:00