Commit Graph

57 Commits

Author SHA1 Message Date
67d9f41f17 auto-git:
[add] dist/assets/index-BFOWWhCS.css
 [add] dist/assets/index-Dm7DZNSo.js
 [change] dist/index.html
 [change] electron/main.cjs
 [change] src/App.jsx
 [unlink] dist/assets/index-CQjkNPEp.js
 [unlink] dist/assets/index-CzQQplJ5.css
2026-04-17 04:22:37 +02:00
7d744cf7b0 Add audio input controls to App.jsx 2026-04-16 22:05:44 +02:00
91cfac9fcf Add audio recording and transcription features to App.jsx 2026-04-16 22:05:13 +02:00
00b2d5875a Add audio input settings and effects in App.jsx 2026-04-16 22:04:50 +02:00
aaa3a1c02d Add audio recording and transcription functionality in App.jsx 2026-04-16 22:04:28 +02:00
c3af5ccc72 Add audio input and recording functionality to App.jsx 2026-04-16 22:03:48 +02:00
0d0b52b5d0 Add audio input support and related utility functions 2026-04-16 22:03:44 +02:00
477c6f275a Add image attachment functionality in App.jsx 2026-04-16 21:32:27 +02:00
553b742d40 Enhance message editing UI in App.jsx 2026-04-16 21:32:06 +02:00
fcfc34d382 Add drag-and-drop functionality to chat content 2026-04-16 21:31:40 +02:00
603db28967 Ensure prompt text presence before processing 2026-04-16 21:31:40 +02:00
2e116b8701 Add drag-and-drop functionality for chat attachments and update message sending logic 2026-04-16 21:31:13 +02:00
972263d523 Add model capabilities check and update UI based on support for vision 2026-04-16 21:30:36 +02:00
c2c5385f66 Add image attachment functionality to App component 2026-04-16 21:29:55 +02:00
4f9799f6fd Add image attachment functionality to App.jsx 2026-04-16 21:29:39 +02:00
9cda0d8577 Add sanitizeGeneratedChatTitle function and update sendMessage logic 2026-03-20 16:26:04 +01:00
55974b90fd Add startup model preparation endpoint and update Whisper handling 2026-03-20 15:43:10 +01:00
645190405f Refactor web search engine handling and add new file for engine options 2026-03-20 12:56:26 +01:00
01b56c943e auto-git:
[add] dist/assets/index-BlgdGsnZ.js
 [add] dist/assets/index-D21amC2P.css
 [change] dist/index.html
 [change] src/App.jsx
 [change] src/styles.css
 [unlink] dist/assets/index-Cl_WYrJF.css
 [unlink] dist/assets/index-u1-aH6b-.js
2026-03-20 12:04:40 +01:00
6be438519c added embedding model selection 2026-03-20 12:00:44 +01:00
8baa34e961 Add onLibrariesPurged handler in App.jsx 2026-03-20 10:35:03 +01:00
fecd101fd0 Add library purge functionality in backend and frontend 2026-03-20 10:33:58 +01:00
c4ee51d05d Update README and code to remove folder registration option 2026-03-20 10:18:35 +01:00
3baab9feaf Include backendApiUrl in dependency array for useEffect in App.jsx 2026-03-20 08:18:28 +01:00
66c1678d34 Update API URL key and usage in App.jsx 2026-03-20 08:17:02 +01:00
4ad4fa15eb auto-git:
[add] dist/assets/index-HsqF-Zwv.css
 [add] dist/assets/index-gF5dDH11.js
 [change] dist/index.html
 [change] src/App.jsx
 [unlink] dist/assets/index-C2JOafdN.js
 [unlink] dist/assets/index-Cc0DLWqA.css
2026-03-19 21:39:14 +01:00
075ccbf2b7 Remove unnecessary check in regenerateFromIndex 2026-03-19 21:38:14 +01:00
26624423b7 Refactor database picker and status display in App.jsx 2026-03-19 21:37:24 +01:00
174fd0d4f3 Update session deletion to clear chat library 2026-03-19 21:37:24 +01:00
adc07c5027 Update context fetching logic in App.jsx 2026-03-19 21:36:47 +01:00
68cb83d32a Enhance prompt enrichment with local library context and web search results 2026-03-19 21:36:41 +01:00
b253f9f44c Add fetchLocalLibraryContext function to App.jsx 2026-03-19 21:36:30 +01:00
3e69cc5e35 Add functions for managing chat library sessions and update effects in App.jsx 2026-03-19 21:36:27 +01:00
b10a2b4cdb Refactor library handling and remove unused state variables in App.jsx 2026-03-19 21:36:21 +01:00
c52ac00cd5 Update chat library handling in App.jsx 2026-03-19 21:35:51 +01:00
95e8c6ec15 Add library renaming functionality in App.jsx 2026-03-19 21:28:09 +01:00
b045c6a006 Add 'Preparing' badge for pending chat libraries and update header display logic 2026-03-19 21:23:56 +01:00
041e5cd294 Refactor chat attachment library and job preparation in App.jsx 2026-03-19 21:23:51 +01:00
0188ccb117 Update library handling logic in App.jsx 2026-03-19 21:23:51 +01:00
d4662d2416 Update App.jsx to include pendingChatLibrarySlug and toggleChatLibrary 2026-03-19 21:16:09 +01:00
c1e8a25aae Remove redundant library job start calls in App.jsx 2026-03-19 21:15:02 +01:00
74fd88fb3d Add pendingChatLibrarySlug state and related logic in App.jsx 2026-03-19 21:14:51 +01:00
bc66329f3f Move useEffect hook in src/App.jsx 2026-03-19 21:10:52 +01:00
3399661809 auto-git:
[change] src/App.jsx
 [unlink] dist/assets/index-Cc0DLWqA.css
 [unlink] dist/assets/index-DKAz6gtp.js
 [unlink] dist/index.html
2026-03-19 21:10:12 +01:00
1caed7f2c2 Check if chatLibrary is indexed before sending message 2026-03-19 21:10:12 +01:00
795f4d272a auto-git:
[add] README.md
 [add] backend/libraries/punk/library.json
 [add] backend/libraries/punk/stage/19f1e5d2ceaab5fd1f1dc58ff07422388f156610d16dfdea2bdb35a5b9e70813--GeorgeJordac-TheVoiceOfHumanJustice.pdf
 [add] backend/libraries/punk/stage/85fce554ff7685f7bccb136aff5768e54b9ba8361672fe45dbce599598c4be4b--4_Strings_-_Take_Me_Away_Into_The_Night_Vocal_Radio_Mix_.mp3
 [add] backend/libraries/punk/stage/e816ca61aebd84159747d248fedd6d5ff318c471c36bcc31b1ac6bf9aebcd3c1--The_Evolution_of_Cooperation_Robert_Axelrod_liber3.pdf
 [add] backend/local_rag.py
 [add] backend/rag/__init__.py
 [add] backend/rag/corpus_builder.py
 [add] backend/rag/corpus_enricher.py
 [add] backend/rag/index_builder.py
 [add] backend/rag/unified_rag.py
 [add] dist/assets/index-Cc0DLWqA.css
 [add] dist/assets/index-DKAz6gtp.js
 [add] dist/index.html
 [add] src/LibraryManager.jsx
 [add] wheelcheck2117/pydantic-2.11.7-py3-none-any.whl
 [add] wheelcheck274/pydantic-2.7.4-py3-none-any.whl
 [change] backend/main.py
 [change] backend/requirements.txt
 [change] backend/schemas.py
 [change] electron/main.cjs
 [change] electron/preload.cjs
 [change] package.json
 [change] run.sh
 [change] src/App.jsx
 [change] src/InterfaceSettings.jsx
 [change] src/colorSchemes.js
 [change] src/main.jsx
 [change] src/styles.css
2026-03-19 21:07:22 +01:00
9c6143a55a auto-git:
[change] src/App.jsx
 [change] src/colorSchemes.js
 [change] src/styles.css
2025-08-29 13:36:19 +02:00
728c7763e2 Add web search enrichment feature with source persistence and UI integration
Introduce optional web search enrichment flow for chat and regenerate requests. New /websearch endpoint calls enrich_prompt via SearXNG and returns enriched_prompt + citation sources.

DB: add sources_json column to chat_messages via ensure_sources_column migration helper.

Backend: persist sources_json for assistant replies (streaming and non-streaming); extend ChatRequest/RegenerateRequest to accept enriched_message and sources; history endpoint returns sources.

Frontend: add toggle for web search, settings for SearXNG URL + engines, and optional enrichment calls in sendMessage/regenerate. Render citation sources as rounded chips labeled with base domain under assistant replies.

Dependencies: add beautifulsoup4, httpx[http2], numpy for enrichment pipeline.
2025-08-27 04:27:18 +02:00
e262e4b4fe Improved codeblock-markdown-parser for a better experiencing when the LLM responds with code in Stream-mode 2025-08-26 05:32:45 +02:00
eb753582c1 Add user‑message collapse/expand feature
Implemented a per‑message collapse state that hides long user messages (>30 lines) with a “Show entire message / Collapse” button.
• Added collapsedUserMsgs map and helper collapseKeyFor to generate stable keys.
• Initialized or updated the collapse map whenever chat sessions or the active session change, preserving user toggles.
• Provided toggleUserMsgCollapse to switch the collapsed state.
• Updated the JSX to render the truncated content with an ellipsis when collapsed and render the expand/collapse button.
• Adjusted CSS for the new expand button: changed color to var(--muted), added align-self: flex-start, removed stray left margin, and retained bold, pointer cursor, and left‑aligned text.
• Minor style tweaks for the button hover effect.
2025-08-26 05:05:43 +02:00