Commit Graph

2 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
1829ae23f0 Fix PDF image mapping, caption refresh, and Grok detection 2026-09-23 10:48:36 +08:00
flower-moon
465a49222b feat(reading): refresh figures on already-ingested materials
The extraction fix only helps material ingested after it lands, and the retry
endpoint covers web sources and media — an uploaded document cannot be
re-imported at all. scripts/reading_refresh_figures.py closes that gap:
--material/--all picks the PDFs, store.refresh_document re-extracts them in
place, and the same run can caption what the refresh produced.

--dry-run is strictly read-only (it works even when the store API is missing,
because the new calls are imported lazily), and any real run asks for
confirmation unless --yes is passed.
2026-09-17 18:46:28 +08:00