Skip to content

Fix: remove legacy Tesseract from provider_configs#57

Merged
Empreiteiro merged 1 commit intomainfrom
fix/remove-legacy-tesseract-provider
Mar 27, 2026
Merged

Fix: remove legacy Tesseract from provider_configs#57
Empreiteiro merged 1 commit intomainfrom
fix/remove-legacy-tesseract-provider

Conversation

@Empreiteiro
Copy link
Copy Markdown
Owner

Summary

  • Tesseract was removed from the provider seeds in PR Refactor settings: multi-provider table configuration #56, but databases seeded before that merge still have the row — causing a broken test button in Settings
  • The seed function now auto-deletes any legacy Tesseract entries on startup
  • If Tesseract was the OCR default, Mistral OCR is promoted automatically

Test plan

  • Start the backend with a database that has Tesseract in provider_configs
  • Navigate to /settings — verify Tesseract no longer appears in the table
  • Verify Mistral OCR is marked as default OCR provider

🤖 Generated with Claude Code

If a database was seeded before Tesseract was removed from the provider
list, the row would persist and show a broken test button in Settings.
The seed function now auto-deletes any Tesseract rows and promotes
Mistral OCR to default if needed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Empreiteiro Empreiteiro merged commit ae8eddf into main Mar 27, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant