fix(ocr-compare): Replace Ollama call in grid analysis with heuristic from comparison results

Ollama crashes when two concurrent vision requests hit the 32B model
(compare-ocr + analyze-grid). The grid analysis was redundantly calling
Ollama again even though compare-ocr already extracted all vocabulary.

- compare-ocr now saves vocabulary in session for reuse
- analyze-grid builds grid from session data (no Ollama, instant response)
- Grid button disabled until comparison results are available
- Added export-to-editor functionality

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
BreakPilot Dev
2026-02-09 18:08:13 +01:00
parent eef650bf61
commit a7a5674818
2 changed files with 575 additions and 907 deletions

File diff suppressed because it is too large Load Diff