Commit History

fix:fetch-page-image-urls-for-existing-records
ccaa906

Comfoa commited on

fix:populate-page-image-urls-in-fetch-latest-endpoint
a3a2425

Comfoa commited on

fix:add-OCR-deps-and-Dockerfile-system-libs
781c298

Comfoa commited on

fix: Vercel proxies to HF Space backend remove broken experimentalServices
8c21aef

Comfoa commited on

feat: scrape all cities every 2h add /api/scrape-all cron endpoint enable Sulphur Springs
74a944c

Comfoa commited on

fix: add asyncio timeouts to prevent Vercel 502 on slow Laserfiche fetches
3890aa9

Comfoa commited on

fix: replace paid Google Vision with free Hugging Face OCR (TrOCR + Nougat)
98be750

Comfoa commited on

fix: 502/503 errors, add Google Vision OCR, improve geo-locate robustness
a3716c2

Comfoa commited on

fix: complete OCR pipeline rewrite - 3-tier, all pages, all engines
210a6bf

Comfoa commited on

fix: OCR async, connector fetch_page_images, lambda closures, parsers init
36f705a

Comfoa commited on

fix: force re-summarize with force parameter, remove broken _execute import
22e3f53

Comfoa commited on

feat: add force parameter to fetch-latest to clear cached summaries
b4ac2b4

Comfoa commited on

fix: OCR.space during document fetch (not summarization) to stay within Vercel 10s timeout
3027ea9

Comfoa commited on

fix: prefer existing raw_text over OCR to avoid Vercel 10s timeout
953436d

Comfoa commited on

fix: reduce OCR.space to 1 page to fit within Vercel free plan 10s timeout
a24463b

Comfoa commited on

fix: add traceback logging for Groq httpx calls to debug deployment failure
3b5f1e6

Comfoa commited on

fix: replace OpenAI SDK with direct httpx calls to Groq API to avoid SDK compatibility issues on Vercel
04a041b

Comfoa commited on

fix: use AsyncOpenAI consistently with await for all Groq API calls
e51ca76

Comfoa commited on

fix: wrap Groq API call in try/except to catch async exceptions and surface error reason
566bc9a

Comfoa commited on

fix: use AsyncOpenAI with await for non-blocking Groq API calls in async context
fce292b

Comfoa commited on

fix: sync Groq call directly in async context, removed asyncio.to_thread that was causing silent failures
f64e1e0

Comfoa commited on

fix: run Groq API call in thread via asyncio.to_thread to avoid blocking event loop
629252a

Comfoa commited on

fix: remove failing Groq Vision API, use only free OCR.space API for scanned document OCR
03edaaf

Comfoa commited on

fix: reuse event loop across requests in ASGI bridge, make OCR.space sync to avoid loop issues
ad6b9b4

Comfoa commited on

fix: use Groq Vision API (llama 3.2 11B) to read text from scanned images, fallback to OCR.space, then text
5188afe

Comfoa commited on

fix: use free OCR.space API as primary OCR on Vercel Lambda, Groq Vision removed to avoid circular import
9b8828f

Comfoa commited on

fix: Vision API now extracts text first (no JSON mode), falls back to free OCR.space API, added httpx dep
19d4905

Comfoa commited on

fix: always try free Groq Vision API for OCR first on Vercel Lambda, fallback to local OCR only if Vision fails
a134d66

Comfoa commited on

feat: add server-side Groq Vision API for OCR on Vercel Lambda — reads text from images directly, no local OCR needed
8f26d9d

Comfoa commited on

fix: combine ASGI-to-WSGI bridge with direct lifespan init for connectors/DB/summarizer
6d83c40

Comfoa commited on

fix: use Mangum lifespan=auto so DB, connectors, and summarizer initialize on first request
a52678f

Comfoa commited on

fix: use request.origin instead of VERCEL_URL for backend proxy - fixes preview deployment 503
5d4a198

Comfoa commited on

fix: derive backend URL from request origin instead of VERCEL_URL to fix preview deployment proxy
65e6ad0

Comfoa commited on

fix: replace Mangum with custom ASGI-to-WSGI bridge for Vercel experimentalServices
af12bff

Comfoa commited on

fix: set Mangum handler to Handler.HTTP explicitly for Vercel experimentalServices
7df68d3

Comfoa commited on

fix: add cryptography to requirements - missing Fernet import
826c4b5

Comfoa commited on

fix: add back numpy and Pillow deps required by social card generation
7335778

Comfoa commited on

fix: remove uvicorn[standard] native deps - use bare uvicorn for Lambda compatibility
cfc8130

Comfoa commited on

fix: absolute minimal WSGI entry point - imports only inside handler
9c10afa

Comfoa commited on

fix: replace psycopg2-binary with pg8000 (pure Python) to avoid Vercel Lambda 250MB native dep crash
65d006f

Comfoa commited on

fix: make Vercel entry point lazy-load FastAPI on first request to prevent cold-start crash
39db043

Comfoa commited on

fix: wrap lifespan startup in try/except so health endpoint works even if DB init fails
21bb921

Comfoa commited on

fix: lazy import psycopg2 inside _get_pg_conn() to prevent Vercel Lambda crash on module load
8cd9061

Comfoa commited on

fix: use VERCEL_URL env var for backend proxy instead of relative /_/backend path
f8de4e2

Comfoa commited on

fix: proxy routes now check VERCEL env to use /_/backend instead of localhost
5f594a2

Comfoa commited on

fix: remove stale backend/vercel.json that was conflicting with top-level experimentalServices
c0f069c

Comfoa commited on

fix: remove unsupported runtime from backend service
3b21dc7

Comfoa commited on

fix: add runtime and entrypoint to backend service config
62d8c46

Comfoa commited on

docs: add Vercel deployment setup guide with env var examples
40e8a77

Comfoa commited on

fix: switch to Vercel experimentalServices monorepo config
02725c8

Comfoa commited on