Commit Graph
10 Commits
Author SHA1 Message Date
Antigravity 9bbc9473de fix: resolve bugs 01 through 08 and set Ollama TTL to 1h 2026-10-07 19:19:49 +03:00
Antigravity 3b1cb85ba2 fix(ai): configure OLLAMA_KEEP_ALIVE=5m to automatically release RAM after inactivity 2026-10-07 15:30:36 +03:00
Antigravity 718e9797eb feat(lessons): implement comprehensive lesson configurator, session runner and AI debrief (Beta) 2026-10-07 13:03:16 +03:00
Antigravity 915d2784a2 fix(ai): increase timeout to 60s, keep model resident in RAM for 24h, and warm up on startup 2026-10-07 09:57:38 +03:00
Antigravity 532e2ec3b2 fix(ai,reader): robust sentence segmentation without abbreviation cutoffs & context-aware literary translation
- Implement robustSentenceSplit across reader.js and backend (miner.py, cefr.py) to prevent false cutoffs on honorifics (Mr., Mrs., Dr.), single-letter initials (John F. Kennedy), decimals, acronyms (U.S., U.K.), and abbreviations (No. 4, etc.)
- Upgrade translation prompt to professional literary Russian, eliminating literal word-for-word translation and preserving titles/honorifics
- Inject surrounding paragraph context into translation API to avoid out-of-context translations
- Inject offline dictionary hints into LLM prompt for accurate contextual word meaning
- Prefer qwen2.5:3b for higher translation fluency and fidelity
- Purge truncated cache entries from sentence_translations and restore Card 30 (briefcase) with authentic full sentence
- Bump Service Worker cache to notes-v6.0
- Add unit tests for robust sentence splitting, prompt formatting, and translation API
2026-10-06 22:32:36 +03:00
Antigravity 37a1f1ab35 feat(ai): integrate local Ollama AI for in-context sentence translation and caching (Task 13) 2026-10-06 15:05:24 +03:00
Antigravity 99741c386e fix(auth): implement DB-first auth, persistent bearer token, secure cookies, and CLI reset_password script 2026-10-05 15:23:37 +03:00
Antigravity c5e0e2dcfa fix(reader): mount app volume in docker-compose, move popup to body root and add smooth scroll tracking 2026-10-05 13:02:37 +03:00
Antigravity c51c505b61 fix(ui,auth): fix login overlay styles, PWA service worker scope, favicon, and update user config to kopri 2026-10-05 11:19:56 +03:00
Antigravity 83f19168db feat(docker): add Dockerfile and docker-compose.yml for containerized deployment 2026-10-05 10:45:49 +03:00