The vision model answers each line as a short array and gets 16k tokens and
five minutes. If the reply still breaks off, receiptFromText keeps every
complete line and marks the receipt as partly read instead of failing with
"no lines found". tidyLines attaches quantity and weight lines printed above
an article (Aldi, Lidl) to that article and drops deposit and empties lines.
After three unreachable attempts a receipt fails with "Try again" instead of
waiting forever.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HUc2nv7rJVU2gp3Bgtha3q