Remove page scanning / Ollama AI vision feature

Removes the scan-a-page workflow (photo → lesson/quiz content), all
Ollama/cloud provider code, the scan settings panel, and the related
DB seed values.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
nmemmertandClaude Sonnet 4.6 committed 2026-08-04 13:52:55 -04:00
1 parent 61f9288aa5
commit a10239ead9
4 files changed
+1 -371

No files matched your search

-5
View File
@@ -244,11 +244,6 @@ const seedSetting = (key, val) => {
if (!db.prepare(`SELECT value FROM settings WHERE key = ?`).get(key))
db.prepare(`INSERT INTO settings (key, value) VALUES (?, ?)`).run(key, val);
};
seedSetting('scan_primary', 'local');
seedSetting('ollama_host', 'http://localhost:11434');
seedSetting('ollama_model', 'llava');
seedSetting('cloud_endpoint', 'https://api.openai.com/v1');
seedSetting('cloud_model', 'gpt-4o');
// Seed bundled word lists on first run
if (db.prepare(`SELECT COUNT(*) AS n FROM lists`).get().n === 0) {