tripit: enable Wikipedia city cover photos (CITY_IMAGE_PROVIDER=wikipedia, #47)

Flips the planning workspace's Stay cover photos from the fake provider to live Wikipedia lead-image fetches (downloaded into STORAGE_DIR, served by the backend, editable per Stay). Part of the new-trip flow feature: every picked destination city gets a banner-ready cover. HOLD-ORDER: pushed only after the tripit image containing CityImageMode.wikipedia rolled out.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Viktor Barzin 2026-06-12 21:48:21 +00:00
parent 1621f0b204
commit a69847a0f3

View file

@ -116,6 +116,15 @@ locals {
# not-yet-visited countries + real UK bank-holiday leave windows + fares).
# `claude_agent` mode requires images >= the #23 slice (already deployed).
RESEARCH_PROVIDER = "claude_agent"
# Stay cover photos (tripit issue #47, ADR-0017): auto-fetch each picked
# city's Wikipedia lead image (keyless REST summary API, "City, Country"
# first), downloaded into the app's STORAGE_DIR (never hotlinked) and
# served by the backend; editable per Stay (URL/upload). Fetches run
# post-commit under an 8s budget and degrade to a placeholder never
# block trip creation. `wikipedia` mode requires images >= the #47 slice
# (older images crash-loop on the unknown enum) landed after that
# image rolled out, same hold-order as FARE/CALENDAR/RESEARCH above.
CITY_IMAGE_PROVIDER = "wikipedia"
# Tour-guide content pipeline (tripit#24/#25): these three default to `fake`
# in tripit's config, which is what shipped dark on 2026-06-08 prod only
# ever showed the placeholder "Sight 1". Real providers: Wikipedia GeoSearch