Commit Graph

11 Commits

Author SHA1 Message Date
c03a8d1bd7 Add support for vision and transcription models in GeneralSettings.jsx 2026-04-17 08:37:23 +02:00
48c35698cb auto-git:
[add] dist/assets/index-DifKT69O.js
 [change] backend/main.py
 [change] backend/schemas.py
 [change] backend/whisper_admin.py
 [change] dist/index.html
 [change] electron/main.cjs
 [change] src/App.jsx
 [change] src/GeneralSettings.jsx
 [change] src/audioInput.js
 [unlink] dist/assets/index-Dm7DZNSo.js
2026-04-17 04:43:29 +02:00
5585f9d2f2 Add audio input settings to GeneralSettings component 2026-04-16 22:03:39 +02:00
bc28b56d0b Add backend API URL input and update handling in GeneralSettings 2026-04-16 21:28:20 +02:00
6be438519c added embedding model selection 2026-03-20 12:00:44 +01:00
fecd101fd0 Add library purge functionality in backend and frontend 2026-03-20 10:33:58 +01:00
bc3532ce2c Add update check and auto-update functionality 2026-03-20 08:47:32 +01:00
629719eb26 Ensure ollamaApiUrl has a default value in GeneralSettings.jsx 2026-03-20 08:18:28 +01:00
d24ea89ed1 Add app settings management and update API URL handling 2026-03-20 08:16:40 +01:00
41c69abe28 feat: Add streaming chat + scroll persistence; improve markdown & links
Backend
- /chat: support streaming via StreamingResponse; save full reply after stream ends. Non-stream path unchanged.
- ChatRequest: add stream flag (default false).
- GenerateTitleRequest: add model and use it instead of hardcoded llama3.
- ollama_client.chat_stream(): new async generator parsing Ollama streaming JSON (both formats).
- Remove response_model from /chat to allow streaming; non-stream still returns { reply }.

Electron
- Open external links in system browser (setWindowOpenHandler, shell.openExternal).
- New IPC: update-settings, open-external-link.
- Set minimum window size; preload exposes updateSettings and openExternalLink.

Frontend (React)
- Streaming UI with live chunking; sticky-bottom only when user at bottom.
- Per-session scroll persistence and robust restore.
- New message tip to jump to latest reply when scrolled up.
- Disable Send while sending; spinner.
- General Settings: stream output toggle; propagate model/stream changes.
- Apply color scheme at boot; extract colorSchemes helper.
- Sidebar UX tweaks and unread badges.

Markdown/rendering
- Code blocks: language title bar and wrapper.
- Tables: GitHub-style parsing, per-cell borders, rounded wrapper, spacing, alignment.
- Headings: remove blank line after h1-h4.
- <hr>: handle after tables; strip following whitespace.
- Links: target=_blank with icon and URL tooltip.

Styles
- Add styles for code/table wrappers, new-message tip, toggle, spinner; hover/active vars; narrower sidebar.

API notes / breaking changes
- /chat accepts stream=true and returns text/plain streamed chunks.
- generate-title now requires a model.
- Non-stream /chat response shape unchanged.
2025-08-23 16:45:46 +02:00
191fe98ac0 initial commit 2025-08-22 23:42:34 +02:00