Offers come from the German avis, so add Claude-backed language help,
reusing BlaaAi's ANTHROPIC_API_KEY + Haiku pattern. Both degrade
gracefully: without a key, offers stay German and the token heuristic
still matches.
- Translate offer headings DE→DA in the fetch job, cached per heading
in a translations table (only new headings cost a call). UI shows
Danish primary + German subtitle for in-store navigation.
- AI match the fixed list against offers (offer_matches table): Claude
returns same-product matches, far more precise than the token
heuristic (which false-matched e.g. Nutella jar → advent calendar).
load_deals() prefers AI matches, falls back to the heuristic.
- Haiku 5.5 by default (MATCH_MODEL/TRANSLATE_MODEL env overridable to
Sonnet); no temperature param (Haiku 5.5 rejects non-default).
- requirements: add anthropic
Flask app serving the Citti shopping list with SQLite persistence,
per-category item addition, dynamic custom categories, photo upload,
and a post-trip price analysis page.
- Port 9756, DATA_DIR env var for persistent volume in Nomad
- Gitea Actions pipeline builds Docker image and deploys via Nomad API
- Makefile targets: run, install, build, push
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>