Commit Graph

6 Commits

Author SHA1 Message Date
672b51a28d Integrate desktop API module across multiple components and hooks 2026-05-06 04:41:11 +02:00
bb2b929d27 auto-git:
[change] src/App.jsx
 [change] src/AssistantMessageContent.jsx
 [change] src/GeneralSettings.jsx
 [change] src/InterfaceSettings.jsx
 [change] src/LibraryManager.jsx
 [change] src/WebsearchSettings.jsx
 [change] src/main.jsx
 [change] src/useChatScroll.js
2026-05-06 04:40:01 +02:00
f06864c72b Add backend and Ollama API URL settings in WebsearchSettings.jsx 2026-04-17 09:00:04 +02:00
645190405f Refactor web search engine handling and add new file for engine options 2026-03-20 12:56:26 +01:00
6be438519c added embedding model selection 2026-03-20 12:00:44 +01: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