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:
1 parent
61f9288aa5
commit
a10239ead9
4 files changed
+1
-371
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user