fix: Vercel proxies to HF Space backend remove broken experimentalServices 8c21aef Comfoa commited on May 31
feat: scrape all cities every 2h add /api/scrape-all cron endpoint enable Sulphur Springs 74a944c Comfoa commited on May 31
fix: add asyncio timeouts to prevent Vercel 502 on slow Laserfiche fetches 3890aa9 Comfoa commited on May 30
fix: replace paid Google Vision with free Hugging Face OCR (TrOCR + Nougat) 98be750 Comfoa commited on May 30
fix: 502/503 errors, add Google Vision OCR, improve geo-locate robustness a3716c2 Comfoa commited on May 30
fix: complete OCR pipeline rewrite - 3-tier, all pages, all engines 210a6bf Comfoa commited on May 30
fix: OCR async, connector fetch_page_images, lambda closures, parsers init 36f705a Comfoa commited on May 30
fix: force re-summarize with force parameter, remove broken _execute import 22e3f53 Comfoa commited on May 30
feat: add force parameter to fetch-latest to clear cached summaries b4ac2b4 Comfoa commited on May 30
fix: OCR.space during document fetch (not summarization) to stay within Vercel 10s timeout 3027ea9 Comfoa commited on May 30
fix: reduce OCR.space to 1 page to fit within Vercel free plan 10s timeout a24463b Comfoa commited on May 30
fix: add traceback logging for Groq httpx calls to debug deployment failure 3b5f1e6 Comfoa commited on May 30
fix: replace OpenAI SDK with direct httpx calls to Groq API to avoid SDK compatibility issues on Vercel 04a041b Comfoa commited on May 30
fix: use AsyncOpenAI consistently with await for all Groq API calls e51ca76 Comfoa commited on May 30
fix: wrap Groq API call in try/except to catch async exceptions and surface error reason 566bc9a Comfoa commited on May 30
fix: use AsyncOpenAI with await for non-blocking Groq API calls in async context fce292b Comfoa commited on May 30
fix: sync Groq call directly in async context, removed asyncio.to_thread that was causing silent failures f64e1e0 Comfoa commited on May 30
fix: run Groq API call in thread via asyncio.to_thread to avoid blocking event loop 629252a Comfoa commited on May 30
fix: remove failing Groq Vision API, use only free OCR.space API for scanned document OCR 03edaaf Comfoa commited on May 30
fix: reuse event loop across requests in ASGI bridge, make OCR.space sync to avoid loop issues ad6b9b4 Comfoa commited on May 30
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 May 30
fix: use free OCR.space API as primary OCR on Vercel Lambda, Groq Vision removed to avoid circular import 9b8828f Comfoa commited on May 30
fix: Vision API now extracts text first (no JSON mode), falls back to free OCR.space API, added httpx dep 19d4905 Comfoa commited on May 30
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 May 30
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 May 30
fix: combine ASGI-to-WSGI bridge with direct lifespan init for connectors/DB/summarizer 6d83c40 Comfoa commited on May 30
fix: use Mangum lifespan=auto so DB, connectors, and summarizer initialize on first request a52678f Comfoa commited on May 30
fix: use request.origin instead of VERCEL_URL for backend proxy - fixes preview deployment 503 5d4a198 Comfoa commited on May 30
fix: derive backend URL from request origin instead of VERCEL_URL to fix preview deployment proxy 65e6ad0 Comfoa commited on May 30
fix: replace Mangum with custom ASGI-to-WSGI bridge for Vercel experimentalServices af12bff Comfoa commited on May 30
fix: set Mangum handler to Handler.HTTP explicitly for Vercel experimentalServices 7df68d3 Comfoa commited on May 30
fix: add back numpy and Pillow deps required by social card generation 7335778 Comfoa commited on May 30
fix: remove uvicorn[standard] native deps - use bare uvicorn for Lambda compatibility cfc8130 Comfoa commited on May 30
fix: absolute minimal WSGI entry point - imports only inside handler 9c10afa Comfoa commited on May 30
fix: replace psycopg2-binary with pg8000 (pure Python) to avoid Vercel Lambda 250MB native dep crash 65d006f Comfoa commited on May 30
fix: make Vercel entry point lazy-load FastAPI on first request to prevent cold-start crash 39db043 Comfoa commited on May 30
fix: wrap lifespan startup in try/except so health endpoint works even if DB init fails 21bb921 Comfoa commited on May 30
fix: lazy import psycopg2 inside _get_pg_conn() to prevent Vercel Lambda crash on module load 8cd9061 Comfoa commited on May 30
fix: use VERCEL_URL env var for backend proxy instead of relative /_/backend path f8de4e2 Comfoa commited on May 30
fix: proxy routes now check VERCEL env to use /_/backend instead of localhost 5f594a2 Comfoa commited on May 30
fix: remove stale backend/vercel.json that was conflicting with top-level experimentalServices c0f069c Comfoa commited on May 30